From f62649fdf9ba289df19c906a4660356e166ef163 Mon Sep 17 00:00:00 2001 From: Timothy Le Bon Date: Wed, 11 Dec 2024 16:09:33 +0100 Subject: [PATCH] chore: fix issue with commit hash --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index a09cf74ad86..7091462a3f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -109,6 +109,7 @@ pipeline { stage('Check deployment') { steps { script { + def commit_hash = sh(script: 'git rev-parse HEAD', returnStdout: true).trim() try { // Wait until deployment has finished (20 retries * 30 seconds == 10 minutes) timeout(time: 10, unit: 'MINUTES') {