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

11
Jenkinsfile vendored

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

Loading…
Cancel
Save