From ba94d6f11d5f3e5e92755d14272aeef35b156429 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 20 Mar 2015 20:22:34 +0100 Subject: eproducible: support for saving artifacts from the builds. use 'artifacts' as the first package when manual scheduling and packages will save files! --- bin/reproducible_schedule_on_demand.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_schedule_on_demand.sh') diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh index 74321e26..c4bd9877 100755 --- a/bin/reproducible_schedule_on_demand.sh +++ b/bin/reproducible_schedule_on_demand.sh @@ -22,6 +22,15 @@ if [ "$SUITE" = "sid" ] ; then SUITE=unstable fi +ARTIFACTS=0 +if [ $1 = "artifacts" ] ; then + ARTIFACTS=1 + shift + echo + echo "The artifacts of these builds will be saved. Look at the build log for the link" + echo +fi + CANDIDATES="$@" check_candidates if [ ${#PACKAGE_IDS} -gt 256 ] ; then @@ -34,7 +43,7 @@ fi MESSAGE="$TOTAL $PACKAGES_TXT $ACTION in $SUITE: ${PACKAGES_NAMES:0:256}$BLABLABLA" # finally -schedule_packages $PACKAGE_IDS +schedule_packages $ARTIFACTS $PACKAGE_IDS echo echo "$MESSAGE" if [ -z "${BUILD_URL:-}" ] && [ $TOTAL -ne 0 ] ; then -- cgit v1.2.3-54-g00ecf