master
sundayenglish 9 months ago
parent 47e53f8c8e
commit 1866ab1a94
  1. 11
      Jenkinsfile

11
Jenkinsfile vendored

@ -9,12 +9,13 @@ pipeline {
stage('Checkout Code') { stage('Checkout Code') {
steps { steps {
// Jenkins Git plugin will handle the clone and checkout automatically // Jenkins Git plugin will handle the clone and checkout automatically
checkout([ // checkout([
$class: 'GitSCM', // $class: 'GitSCM',
branches: [[name: "*/${BRANCH}"]], // branches: [[name: "*/${BRANCH}"]],
userRemoteConfigs: [[url: GIT_URL]] // userRemoteConfigs: [[url: GIT_URL]]
]) // ])
sh "cd /projects"
sh "pwd" sh "pwd"
sh "git --version" sh "git --version"
} }

Loading…
Cancel
Save