fup-try-007

This commit is contained in:
Philippe Caseiro 2023-06-19 14:38:10 +02:00
parent a9bc31ea83
commit 1cccf13204
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

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