diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-03-20 20:22:34 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-20 20:52:52 +0100 |
commit | ba94d6f11d5f3e5e92755d14272aeef35b156429 (patch) | |
tree | 506afaf0ec93ab5667c975e1fef11f59b999a4c0 /bin/reproducible_schedule_on_demand.sh | |
parent | 7e1e04e2a1b18b4c83b094da19143bd7d4d6a6ca (diff) | |
download | jenkins.debian.net-ba94d6f11d5f3e5e92755d14272aeef35b156429.tar.xz |
eproducible: support for saving artifacts from the builds. use 'artifacts' as the first package when manual scheduling and packages will save files!
Diffstat (limited to 'bin/reproducible_schedule_on_demand.sh')
-rwxr-xr-x | bin/reproducible_schedule_on_demand.sh | 11 |
1 files changed, 10 insertions, 1 deletions
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 |