From 540161eac0ec9436f1d822a6628eeb56accce9b9 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Thu, 6 Mar 2025 17:37:33 +0800 Subject: [PATCH] feat(ci): enhance debug output in SemanticReleasingExecutor by adding user context Signed-off-by: zhenyus --- .../src/com/freeleaps/devops/SemanticReleasingExecutor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy index de4c5504..a992d92f 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy @@ -33,7 +33,7 @@ class SemanticReleasingExecutor { // steps.sh "npm install -g ${plugins.join(' ')}" steps.sh "git config --global --add safe.directory ${steps.env.workroot}" steps.env.GIT_LOCAL_BRANCH = "${branch}" - steps.sh "whereis semantic-release" + steps.sh "whoami && whereis semantic-release" steps.sh "semantic-release --debug" steps.log.info("SemanticReleasingExecutor", "Semantic release completed, read latest version from VERSION file") def released = steps.sh(script: 'test -f "VERSION"', returnStatus: true) == 0