From a9bc31ea833d28d57953ccdba979cee8b46580c8 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 19 Jun 2023 14:36:33 +0200 Subject: [PATCH] fup-try-005 --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) 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