Cizz22 1 year ago
parent e99e7ee108
commit a4d2127c8b

3
Jenkinsfile vendored

@ -18,7 +18,8 @@ pipeline {
script {
// Checkout and get git commit hash
checkout scm
GIT_COMMIT_HASH = sh(script: 'git rev-parse --short HEAD', returnStdout: true).trim()
def commitHash = sh(script: 'git rev-parse --short HEAD', returnStdout: true).trim()
GIT_COMMIT_HASH = commitHash
echo "Git commit hash: ${GIT_COMMIT_HASH}"
}
}

Loading…
Cancel
Save