Jenkins parameterized

This commit is contained in:
Dominik Chilla 2019-06-13 21:52:06 +02:00
parent 0fb8d45838
commit 33dd8ec7b2

View File

@ -12,7 +12,7 @@ pipeline {
/* This builds the actual image; synonymous to
* docker build on the command line */
script {
imageObject = docker.build(${env.imageName})
imageObject = docker.build(env.imageName)
}
}
}
@ -32,7 +32,7 @@ pipeline {
stage('Push image') {
steps {
script {
docker.withRegistry(${env.dockerRegistry}) {
docker.withRegistry(env.dockerRegistry) {
imageObject.push()
}
}