mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
removing misplaced $
This commit is contained in:
parent
0ea1b5309a
commit
16f0ab49e9
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh "docker build -t liatrio/petclinic-tomcat:${env.BRANCH_NAME} ."
|
sh "docker build -t liatrio/petclinic-tomcat:${env.BRANCH_NAME} ."
|
||||||
if ( ${env.BRANCH_NAME} == 'master' ) {
|
if ( env.BRANCH_NAME == 'master' ) {
|
||||||
def containerVersion = getVersionFromContainer("liatrio/petclinic-tomcat:${env.BRANCH_NAME}")
|
def containerVersion = getVersionFromContainer("liatrio/petclinic-tomcat:${env.BRANCH_NAME}")
|
||||||
failIfVersionExists("liatrio","petclinic-tomcat",containerVersion)
|
failIfVersionExists("liatrio","petclinic-tomcat",containerVersion)
|
||||||
sh "docker build -t liatrio/petclinic-tomcat:${containerVersion} ."
|
sh "docker build -t liatrio/petclinic-tomcat:${containerVersion} ."
|
||||||
|
|
Loading…
Reference in a new issue