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

8
Jenkinsfile vendored

@ -8,7 +8,13 @@ pipeline {
stages { stages {
stage('Checkout Code') { stage('Checkout Code') {
steps { 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" sh "touch demo.php"
} }
} }

Loading…
Cancel
Save