Skip to content
Snippets Groups Projects
Commit 802cfb3a authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Don't fail if there are changes to Tests/Data.

parent 3df2ebff
No related branches found
No related tags found
No related merge requests found
...@@ -393,7 +393,7 @@ pipeline { ...@@ -393,7 +393,7 @@ pipeline {
credentialsId: '2719b702-1298-4e87-8464-5dfc62fbd923', credentialsId: '2719b702-1298-4e87-8464-5dfc62fbd923',
url: 'https://github.com/ufz/ogs-data']]]) url: 'https://github.com/ufz/ogs-data']]])
sh 'rsync -av --delete --exclude .git/ ../ogs/Tests/Data/ .' sh 'rsync -av --delete --exclude .git/ ../ogs/Tests/Data/ .'
sh "git add . && git commit -m 'Update'" sh "git diff --quiet && git diff --staged --quiet || git commit -am 'Update'"
withCredentials([usernamePassword( withCredentials([usernamePassword(
credentialsId: '2719b702-1298-4e87-8464-5dfc62fbd923', credentialsId: '2719b702-1298-4e87-8464-5dfc62fbd923',
passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) { passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment