Comparar commits
4 Commits
| Autor | SHA1 | Data | |
|---|---|---|---|
| cab065508f | |||
| e9a8829a46 | |||
| 535eed18cf | |||
| 20ae74c805 |
externo
+1
-7
@@ -92,16 +92,10 @@ def commitChanges() {
|
|||||||
// Check for changes
|
// Check for changes
|
||||||
sh """
|
sh """
|
||||||
git checkout ${env.BRANCH_NAME}
|
git checkout ${env.BRANCH_NAME}
|
||||||
git status
|
|
||||||
git pull origin ${env.BRANCH_NAME}
|
git pull origin ${env.BRANCH_NAME}
|
||||||
# Only proceed if there are changes
|
|
||||||
if [[ $(git status -s) ]]; then
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Moved processed XML files to backup"
|
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 --force https://jenkinstest:Bizgaze123@code.bizgaze.com/devops.bizgaze/imports.git ${env.BRANCH_NAME}
|
||||||
else
|
|
||||||
echo "No changes to commit."
|
|
||||||
fi
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
Referência em uma Nova Issue
Bloquear um usuário