Jenkins test stage with inside

This commit is contained in:
Dominik Chilla 2019-06-14 19:33:55 +02:00
parent 0afc8aa7e7
commit 05d6fe7670

View File

@ -1,11 +1,10 @@
pipeline { pipeline {
agent any
environment { environment {
CI = 'true'
dockerImage = '' dockerImage = ''
imageName = 'sos-milter' imageName = 'sos-milter'
} }
agent any
stages { stages {
stage('Build image') { stage('Build image') {
steps { steps {
@ -16,7 +15,6 @@ pipeline {
} }
} }
} }
stage('Test image') { stage('Test image') {
steps { steps {
script { script {
@ -27,7 +25,6 @@ pipeline {
} }
} }
} }
stage('Push image') { stage('Push image') {
steps { steps {
script { script {
@ -35,7 +32,6 @@ pipeline {
} }
} }
} }
stage('Cleanup') { stage('Cleanup') {
steps { steps {
sh 'echo "TODO: cleanup!"' sh 'echo "TODO: cleanup!"'