From 8a7d47bc479a857304b01d8db2fb2e6c1a26f4e6 Mon Sep 17 00:00:00 2001 From: yuobrezkov Date: Mon, 10 Mar 2025 17:42:40 +0300 Subject: [PATCH] DEBUG info 2 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 50be8c9..c6e1324 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,7 +80,7 @@ pipeline { """ echo "PR ${prId} merged successfully into master!" def context = "test-org/trust-module-frontend/pipeline/pr-${env.CHANGE_TARGET}" - def commitHash = sh(script: "git rev-parse HEAD", returnStdout: true).trim() + def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim() echo "commit hash = ${commitHash}" notify(context, GITEA_USER, GITEA_PASS, env.GITEA_REPOSITORY_URL, "trust-module-frontend", commitHash, "success") } -- 2.40.1