[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: try once more if the notes are temporarily not available
Holger Levsen
holger at moszumanska.debian.org
Sun Jul 19 10:02:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 5a689e34cd52cb5ef38eaed2e8b580f73dee8544
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Jul 19 12:01:53 2015 +0200
reproducible: try once more if the notes are temporarily not available
---
bin/reproducible_html_dashboards.sh | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_html_dashboards.sh b/bin/reproducible_html_dashboards.sh
index 0e02bc6..1366293 100755
--- a/bin/reproducible_html_dashboards.sh
+++ b/bin/reproducible_html_dashboards.sh
@@ -125,9 +125,13 @@ update_notes_stats() {
# retry. sometimes these files vanish for a moment, probably when jenkins automatically updates the clones or such.
sleep 5
if [ ! -f ${NOTES_GIT_PATH}/packages.yml ] || [ ! -f ${NOTES_GIT_PATH}/issues.yml ] ; then
- echo "Warning: ${NOTES_GIT_PATH}/packages.yml or issues.yml does not exist, something has changed in notes.git it seems."
- echo "Please investigate and fix!"
- exit 1
+ # retry. sometimes these files vanish for a moment, probably when jenkins automatically updates the clones or such.
+ sleep 5
+ if [ ! -f ${NOTES_GIT_PATH}/packages.yml ] || [ ! -f ${NOTES_GIT_PATH}/issues.yml ] ; then
+ echo "Warning: ${NOTES_GIT_PATH}/packages.yml or issues.yml does not exist, something has changed in notes.git it seems."
+ echo "Please investigate and fix!"
+ exit 1
+ fi
fi
fi
NOTES=$(grep -c -v "^ " ${NOTES_GIT_PATH}/packages.yml)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list