소스 검색

modified jenkins file

Avinash 1 년 전
부모
커밋
2da9807fa0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      Jenkinsfile

.jenkins/Jenkinsfile → Jenkinsfile 파일 보기

@@ -85,10 +85,10 @@ def commitChanges() {
85 85
 
86 86
     // Check for changes
87 87
     sh """
88
-        git checkout ${env.BRANCH_NAME}
88
+        git pull origin ${env.BRANCH_NAME}
89 89
         git add .
90 90
         git commit -m "Moved processed XML files to backup"
91
-        git push https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
91
+        git push --force https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
92 92
     """
93 93
 }
94 94
 

Loading…
취소
저장