diff options
author | Chris Lamb <lamby@debian.org> | 2016-07-13 08:45:52 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-07-13 09:03:55 +0200 |
commit | 97c6b8a17f07760c7009ed7639fc2e97b0eff4ae (patch) | |
tree | f763d6049942d16b991d8508cfee9db0480e0c54 | |
parent | 57e276933016d1297be99829824c66f0ffffb466 (diff) | |
download | jenkins.debian.net-97c6b8a17f07760c7009ed7639fc2e97b0eff4ae.tar.xz |
reproducible Debian: correct references to RBUILDLOG
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index e37b6136..e394c04f 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -35,10 +35,10 @@ create_results_dirs() { } handle_race_condition() { - echo | tee -a $BUILDLOG + echo | tee -a $RBUILDLOG local RESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT job FROM schedule WHERE package_id='$SRCPKGID'") local msg="Warning, package ${SRCPACKAGE} (id=$SRCPKGID) in ${SUITE} on ${ARCH} is probably already building at $RESULT, while this is $BUILD_URL.\n" - printf "$msg" | tee -a $BUILDLOG + printf "$msg" | tee -a $RBUILDLOG printf "$(date -u) - $msg" >> /var/log/jenkins/reproducible-race-conditions.log echo "$(date -u) - Terminating this build quickly and nicely..." | tee -a $RBUILDLOG if [ $SAVE_ARTIFACTS -eq 1 ] ; then @@ -63,7 +63,7 @@ save_artifacts() { local msg="Artifacts from this build have been preserved. They will be available for 24h only, so download them now.\n" msg="${msg}WARNING: You shouldn't trust packages downloaded from this host, they can contain malware or the worst of your fears, packaged nicely in debian format.\n" msg="${msg}If you are not afraid facing your fears while helping the world by investigating reproducible build issues, you can download the artifacts from the following location: $URL\n" - printf "$msg" | tee -a $BUILDLOG + printf "$msg" | tee -a $RBUILDLOG echo "<p>" > $HEADER printf "$msg" | sed 's#$#<br />#g' >> $HEADER echo "Package page: <a href=\"$DEBIAN_URL/${SUITE}/${ARCH}/${SRCPACKAGE}\">$DEBIAN_URL/${SUITE}/${ARCH}/${SRCPACKAGE}</a><br />" >> $HEADER @@ -405,7 +405,7 @@ call_diffoscope_on_buildinfo_files() { ;; *) handle_ftbr "Something weird happened when running $DIFFOSCOPE (which exited with $RESULT) and I don't know how to handle it" - irc_message debian-reproducible "Something weird happened when running $DIFFOSCOPE (which exited with $RESULT) and I don't know how to handle it. Please check $BUILDLOG and $DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE" + irc_message debian-reproducible "Something weird happened when running $DIFFOSCOPE (which exited with $RESULT) and I don't know how to handle it. Please check $RBUILDLOG and $DEBIAN_URL/$SUITE/$ARCH/$SRCPACKAGE" ;; esac } |