4 Incheckningar

Upphovsman SHA1 Meddelande Datum
avinash.b cab065508f added form 2023-10-14 21:02:44 +05:30
jenkinstest e9a8829a46 Moved processed XML files to backup 2023-10-14 01:59:22 +05:30
avinash.b 535eed18cf modified jenkins 2023-10-14 01:58:37 +05:30
avinash.b 20ae74c805 added forms 2023-10-14 01:33:19 +05:30
4 ändrade filer med 6 tillägg och 9 borttagningar
+3 -9
Visa fil
@@ -92,16 +92,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}
"""
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long