Browse Source

change Jenkinsfile

master
domsgit 5 years ago
parent
commit
2f2fc80d1c
1 changed files with 1 additions and 1 deletions
  1. 2
      Jenkinsfile

2
Jenkinsfile

@ -2,7 +2,7 @@ node('haimaxy-jnlp') {
stage('Clone') { stage('Clone') {
echo "1.Clone Stage" echo "1.Clone Stage"
// git url: "https://github.com/cnych/jenkins-demo.git" // git url: "https://github.com/cnych/jenkins-demo.git"
// checkout scm
checkout scm
script { script {
build_tag = sh(returnStdout: true, script: 'git rev-parse --short HEAD').trim() build_tag = sh(returnStdout: true, script: 'git rev-parse --short HEAD').trim()

Loading…
Cancel
Save