5 커밋

작성자 SHA1 메시지 날짜
  Avinash ae186e2a55 added report 2 년 전
  Avinash 2da9807fa0 modified jenkins file 2 년 전
  Avinash 59afa4c31f modified jenkins file 2 년 전
  jenkinstest 3659b2904f Moved processed XML files to backup 2 년 전
  Avinash 40f0e41f31 aadded report 2 년 전
2개의 변경된 파일0개의 추가작업 그리고 18개의 파일을 삭제
  1. 0
    18
      Jenkinsfile
  2. 0
    0
      backup/report/Sales Invoice.xml

+ 0
- 18
Jenkinsfile 파일 보기

@@ -33,7 +33,6 @@ pipeline {
33 33
                     process_folder('./app', 'app')
34 34
                     process_folder('./report', 'report')
35 35
                     process_folder('./form', 'form')
36
-                    commitChanges()
37 36
                 }
38 37
             }
39 38
         }
@@ -75,20 +74,3 @@ def process_folder(folder, import_type) {
75 74
         }
76 75
     }
77 76
 }
78
-
79
-def commitChanges() {
80
-    // Configure Git
81
-    sh """
82
-        git config user.email "jenkins@bizgaze.in"
83
-        git config user.name "jenkinstest"
84
-    """
85
-
86
-    // Check for changes
87
-    sh """
88
-        git pull origin ${env.BRANCH_NAME}
89
-        git add .
90
-        git commit -m "Moved processed XML files to backup"
91
-        git push --force https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
92
-    """
93
-}
94
-

report/Sales Invoice.xml → backup/report/Sales Invoice.xml 파일 보기


Loading…
취소
저장