[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix reproducible->unreproducible status notifications
Holger Levsen
holger at moszumanska.debian.org
Sun May 3 11:09:41 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 70fba9c726aa4ce669eb689c5c2d3a6a6dcc1278
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun May 3 13:09:22 2015 +0200
reproducible: fix reproducible->unreproducible status notifications
---
bin/reproducible_build.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index ef99a40..69ddcd0 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -182,9 +182,9 @@ handle_ftbr() {
echo "$(date) - $DBDVERSION produced no output (which is strange)." | tee -a $RBUILDLOG
fi
calculate_build_duration
+ local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'")
update_db_and_html "unreproducible"
# notification for changing status
- local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'")
if [ "${OLD_STATUS}" = "reproducible" ]; then
MESSAGE="status changed from reproducible → unreproducible. ${REPRODUCIBLE_URL}/${SUITE}/${ARCH}/${SRCPACKAGE}"
echo "\n$MESSAGE" | tee -a ${RBUILDLOG}
--
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