modified jenkins file

此提交包含在:
2023-10-13 20:21:12 +00:00
父節點 4f5fcc27f3
當前提交 1ad2f09d98
+3 -1
查看文件
@@ -93,11 +93,13 @@ def commitChanges() {
sh """
git checkout ${env.BRANCH_NAME}
git status
git pull origin ${env.BRANCH_NAME}
# Only proceed if there are changes
if [[ $(git status -s) ]]; then
git add .
git commit -m "Moved processed XML files to backup"
git push https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
git push origin ${env.BRANCH_NAME}
else
echo "No changes to commit."
fi