diff --git a/Jenkinsfile b/Jenkinsfile index 703d948..28db234 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -91,6 +91,7 @@ def commitChanges() { // Check for changes sh """ + git checkout ${env.BRANCH_NAME} git status git pull origin ${env.BRANCH_NAME} # Only proceed if there are changes