This commit is contained in:
Benjamin Stein 2017-08-29 14:40:38 -07:00
parent 16f0ab49e9
commit e3e18e542c

View file

@ -28,7 +28,7 @@ pipeline {
agent any
steps {
script {
if ( ${env.BRANCH_NAME} == 'master' )
if ( env.BRANCH_NAME == 'master' )
sh "docker push liatrio/petclinic-tomcat:${containerVersion}"
else sh "docker push liatrio/petclinic-tomcat:${env.BRANCH_NAME}"
}