From 9ecf8a706e95f19dac2361d5a7cb4fc667c260c5 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 17 Feb 2025 19:51:49 +0800 Subject: [PATCH] ci(magicleaps): switch magicleaps alpha ci to develop branch Signed-off-by: zhenyus --- first-class-pipeline/vars/executeFreeleapsPipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index d71c7b1d..73e6fb10 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -432,7 +432,7 @@ def generateComponentStages(component, configurations) { log.info("Pipeline", "Retrieve version of image from pervious stage...") if (env.LATEST_VERSION == null || env.LATEST_VERSION.isEmpty()) { log.warn("Pipeline", "LATEST_VERSION environment value not set, using 'snapshot-' as default version") - + sh "git config --global --add safe.directory ${env.workroot}" def commitHash = sh(script: 'git rev-parse HEAD', returnStdout: true).trim() def shortCommitHash = commitHash.take(7) env.LATEST_VERSION = "snapshot-${shortCommitHash}"