Jenkins Multi-Branch build

This commit is contained in:
Dominik Chilla 2019-06-14 18:38:33 +02:00
parent 0751c7ba4c
commit 0afc8aa7e7

View File

@ -1,11 +1,7 @@
pipeline {
environment {
dockerImage = ''
}
parameters {
string name: 'imageName', trim: false
string name: 'dockerRegistry', trim: false
imageName = 'sos-milter'
}
agent any
@ -35,9 +31,7 @@ pipeline {
stage('Push image') {
steps {
script {
docker.withRegistry(env.dockerRegistry) {
dockerImage.push()
}
dockerImage.push()
}
}
}