diff --git a/Jenkinsfile b/Jenkinsfile index 48c3f1b..0c763ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ symfonyAppPipeline('ubuntu:22.04', [ String currentTag = sh(script: 'git tag --points-at HEAD | head -n 1', returnStdout: true).trim() // Retrieve default tag String defaultTag = sh(returnStdout: true, script: 'git describe --always').trim() - String pwd = sh(returnStdout: true, script: 'pwd').trim() + sh(returnStdout: true, script: 'pwd').trim() container.buildAndPublishImage([ 'imageName': 'reg.cadoles.com/pcaseiro/myapplication-standalone', // Use current tag or default tag if not defined