6 次代码提交

作者 SHA1 备注 提交日期
  Avinash fcb6fe935a added report in anwi 2 年前
  Avinash ea7c75f1c3 added report in anwi 2 年前
  Avinash e82b68beaa Merge branch 'anwiqa' of https://code.bizgaze.com/devops.bizgaze/imports into anwiqa 2 年前
  Avinash 5f7b6efc93 added report 2 年前
  Avinash 2da9807fa0 modified jenkins file 2 年前
  Avinash 59afa4c31f modified jenkins file 2 年前
共有 2 个文件被更改,包括 0 次插入18 次删除
  1. 0
    18
      Jenkinsfile
  2. 0
    0
      backup/report/Sales Invoice.xml

+ 0
- 18
Jenkinsfile 查看文件

33
                     process_folder('./app', 'app')
33
                     process_folder('./app', 'app')
34
                     process_folder('./report', 'report')
34
                     process_folder('./report', 'report')
35
                     process_folder('./form', 'form')
35
                     process_folder('./form', 'form')
36
-                    commitChanges()
37
                 }
36
                 }
38
             }
37
             }
39
         }
38
         }
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 查看文件


正在加载...
取消
保存