diff options
-rwxr-xr-x | bin/reproducible_schedule_on_demand.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh index 27bb0fbc..8358319b 100755 --- a/bin/reproducible_schedule_on_demand.sh +++ b/bin/reproducible_schedule_on_demand.sh @@ -13,6 +13,12 @@ else exit 1 fi +if [ "$@" = "" ] ; then + PARAMS = "--help" +else + PARAMS = "$@" +fi + LC_USER="$REQUESTER" \ LOCAL_CALL="true" \ -/srv/jenkins/bin/reproducible_remote_scheduler.py "$@" +/srv/jenkins/bin/reproducible_remote_scheduler.py $PARAMS |