master
sundayenglish 9 months ago
parent b6fd43e4fa
commit b22378bb40
  1. 8
      Jenkinsfile

8
Jenkinsfile vendored

@ -8,7 +8,13 @@ pipeline {
stages {
stage('Checkout Code') {
steps {
sh "git pull origin ${BRANCH}"
// Jenkins Git plugin will handle the clone and checkout automatically
checkout([
$class: 'GitSCM',
branches: [[name: "*/${BRANCH}"]],
userRemoteConfigs: [[url: GIT_URL]]
])
sh "touch demo.php"
}
}

Loading…
Cancel
Save