summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-20 22:23:56 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-20 22:23:56 +0200
commit291f1495ea120ae9551fa8dcec66051b95248b0d (patch)
tree014a0084d5c959222a9e6ce0189eb8ca87e24b72 /bin
parent42349d607db16004db1dcc6217bd0e905436d32c (diff)
downloadjenkins.debian.net-291f1495ea120ae9551fa8dcec66051b95248b0d.tar.xz
reproducible: save rbuild.log for not-for-us packages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c4a818eb..4fe8aa8e 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -152,12 +152,13 @@ handle_404() {
handle_not_for_us() {
# a list of valid architecture for this package should be passed to this function
echo "Package ${SRCPACKAGE} (${VERSION}) shall only be build on \"$(echo "$@" | xargs echo )\" and thus was skipped." | tee -a ${RBUILDLOG}
+ mv $RBUILDLOG $BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log
+ RBUILDLOG=$BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_${EVERSION}.rbuild.log
DURATION=''
update_db_and_html "not for us"
- irc_message "$BUILD_URL/console has just build a not-for-us package"
if [ $SAVE_ARTIFACTS -eq 1 ] ; then SAVE_ARTIFACTS=0 ; fi
if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
- exit 0
+ exit 0 # RBUILDLOG and SAVE_ARTIFACTS and NOTIFY are used in cleanup_all called at exit
}
handle_ftbfs() {