fup-try-005
This commit is contained in:
parent
04565f87a9
commit
a9bc31ea83
|
@ -13,6 +13,7 @@ symfonyAppPipeline('ubuntu:22.04', [
|
||||||
String currentTag = sh(script: 'git tag --points-at HEAD | head -n 1', returnStdout: true).trim()
|
String currentTag = sh(script: 'git tag --points-at HEAD | head -n 1', returnStdout: true).trim()
|
||||||
// Retrieve default tag
|
// Retrieve default tag
|
||||||
String defaultTag = sh(returnStdout: true, script: 'git describe --always').trim()
|
String defaultTag = sh(returnStdout: true, script: 'git describe --always').trim()
|
||||||
|
String pwd = sh(returnStdout: true, script: 'pwd').trim()
|
||||||
container.buildAndPublishImage([
|
container.buildAndPublishImage([
|
||||||
'imageName': 'reg.cadoles.com/pcaseiro/myapplication-standalone',
|
'imageName': 'reg.cadoles.com/pcaseiro/myapplication-standalone',
|
||||||
// Use current tag or default tag if not defined
|
// Use current tag or default tag if not defined
|
||||||
|
|
Loading…
Reference in New Issue