Try to fetch tags
All checks were successful
Homelab/java-spring-microservice/pipeline/head This commit looks good
All checks were successful
Homelab/java-spring-microservice/pipeline/head This commit looks good
This commit is contained in:
parent
c75bd48853
commit
ec1481243c
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -18,6 +18,7 @@ podTemplate(label: label, containers: [
|
|||||||
node(label) {
|
node(label) {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh "git fetch"
|
||||||
GIT_HASH = sh (
|
GIT_HASH = sh (
|
||||||
script: 'git rev-parse --short HEAD',
|
script: 'git rev-parse --short HEAD',
|
||||||
returnStdout: true
|
returnStdout: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user