mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-11 01:30:19 +00:00
Delete Jenkinsfile
This commit is contained in:
parent
5048fa9300
commit
93f3ad37bd
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -1,30 +0,0 @@
|
||||
node {
|
||||
def app
|
||||
|
||||
stage('Clone repository') {
|
||||
sh '/usr/bin/env'
|
||||
/* Let's make sure we have the repository cloned to our workspace */
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage('Build image') {
|
||||
sh '/usr/bin/env'
|
||||
/* This builds the actual image; synonymous to
|
||||
* docker build on the command line */
|
||||
app = docker.build("jenkins/sos-milter")
|
||||
}
|
||||
|
||||
stage('Test image') {
|
||||
/* Ideally, we would run a test framework against our image.
|
||||
* For this example, we're using a Volkswagen-type approach ;-) */
|
||||
app.inside {
|
||||
sh 'echo "Tests passed"'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Push image') {
|
||||
docker.withRegistry('https://dockreg-fra.zwackl.de') {
|
||||
app.push()
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user