Try to fetch tags
All checks were successful
Homelab/java-spring-microservice/pipeline/head This commit looks good

This commit is contained in:
Jim Nicholson 2021-12-23 16:54:46 -08:00
parent c75bd48853
commit ec1481243c

1
Jenkinsfile vendored
View File

@ -18,6 +18,7 @@ podTemplate(label: label, containers: [
node(label) {
stage('Checkout') {
checkout scm
sh "git fetch"
GIT_HASH = sh (
script: 'git rev-parse --short HEAD',
returnStdout: true