diff --git a/Jenkinsfile b/Jenkinsfile index 8acc42e..48c3f1b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,6 +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() container.buildAndPublishImage([ 'imageName': 'reg.cadoles.com/pcaseiro/myapplication-standalone', // Use current tag or default tag if not defined