커밋 비교
3 커밋
| 작성자 | SHA1 | 날짜 | |
|---|---|---|---|
| b4377391ca | |||
| 7689775c5a | |||
| 6efe08379f |
+11
-9
@@ -26,6 +26,10 @@ pipeline {
|
||||
env.BASE_URL = "https://qa.anwisystems.com/Account/Import/"
|
||||
env.AUTH_TOKEN = "541c35d52a7b449f956175992619ed3a"
|
||||
break
|
||||
case "c02_version1.0":
|
||||
env.BASE_URL = "https://uat01.bizgaze.com/Account/Import/"
|
||||
env.AUTH_TOKEN = "572577b630b66235e102a1832e0181"
|
||||
break
|
||||
default:
|
||||
error "Unknown branch: ${BRANCH_NAME}. Exiting."
|
||||
}
|
||||
@@ -39,6 +43,10 @@ pipeline {
|
||||
process_folder('./app', 'app')
|
||||
process_folder('./report', 'report')
|
||||
process_folder('./form', 'form')
|
||||
process_folder('./doctype', 'doctype')
|
||||
process_folder('./integrations', 'integrations')
|
||||
process_folder('./portability', 'portability')
|
||||
process_folder('./widget', 'widget')
|
||||
commitChanges()
|
||||
}
|
||||
}
|
||||
@@ -92,16 +100,10 @@ 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
|
||||
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}
|
||||
else
|
||||
echo "No changes to commit."
|
||||
fi
|
||||
git add .
|
||||
git commit -m "Moved processed XML files to backup"
|
||||
git push --force https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
|
||||
"""
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단