fup-try-005

This commit is contained in:
Philippe Caseiro 2023-06-19 14:36:33 +02:00
parent 04565f87a9
commit a9bc31ea83
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -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