Jenkins test stage with inside

This commit is contained in:
Dominik Chilla 2019-06-14 19:40:51 +02:00
parent 05d6fe7670
commit 07378f9094

View File

@ -1,10 +1,12 @@
pipeline {
agent any
environment {
CI = 'true'
dockerImage = ''
imageName = 'sos-milter'
}
stages {
stage('Build image') {
steps {
@ -28,7 +30,9 @@ pipeline {
stage('Push image') {
steps {
script {
dockerImage.push()
docker.withRegistry('https://dockreg-fra.zwackl.de') {
dockerImage.push()
}
}
}
}