[Git][qa/jenkins.debian.net][master] reproducible Debian: reduce irc notifications to 1 when rescheduling due to status change
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Jan 6 09:10:35 GMT 2024
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
5dcf67e8 by Holger Levsen at 2024-01-06T10:10:15+01:00
reproducible Debian: reduce irc notifications to 1 when rescheduling due to status change
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_build.sh
Changes:
=====================================
bin/reproducible_build.sh
=====================================
@@ -105,8 +105,8 @@ update_db_and_html() {
([ "$OLD_STATUS" = "FTBR" ] && [ "$STATUS" = "FTBFS" ] ); then
MESSAGE="${DEBIAN_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : ${OLD_STATUS} ➤ ${STATUS}"
log_info "$MESSAGE"
- irc_message debian-reproducible-changes "$MESSAGE"
RETRY=true
+ MESSAGE="${OLD_STATUS} ➤ ${STATUS}"
fi
if [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \
[ "$OLD_STATUS" != "depwait" ] && [ "$STATUS" != "depwait" ] && \
@@ -125,7 +125,7 @@ update_db_and_html() {
echo "$(date -u) - successfully updated the database and updated $DEBIAN_URL/rb-pkg/${SUITE}/${ARCH}/$SRCPACKAGE.html"
echo
if $RETRY ; then
- SUDO_USER=jenkins /srv/jenkins/bin/reproducible_schedule_on_demand.sh -a ${ARCH} -s ${SUITE} ${SRCPACKAGE} || true
+ SUDO_USER=jenkins /srv/jenkins/bin/reproducible_schedule_on_demand.sh -a ${ARCH} -s ${SUITE} -m "${MESSAGE}" ${SRCPACKAGE} || true
fi
}
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/5dcf67e882e9efda51d218ae74c7d2db82476dd7
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/5dcf67e882e9efda51d218ae74c7d2db82476dd7
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20240106/5a28edd7/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list