aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-lava-jobs-submit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/common/include-agl-lava-jobs-submit.sh')
-rw-r--r--jjb/common/include-agl-lava-jobs-submit.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh
index 9c00d329..07001e5e 100644
--- a/jjb/common/include-agl-lava-jobs-submit.sh
+++ b/jjb/common/include-agl-lava-jobs-submit.sh
@@ -4,7 +4,12 @@
# Submit LAVA YAML job file (default testjob.yaml) to first available LAVA lab
# with matching device-type
#
-JOB_FILE=${1:-testjob.yaml}
+#JOB_FILE=${1:-testjob.yaml}
+JOB_FILE=testjob.yaml
+
+if [ ! -e $JOB_FILE ]; then
+ JOB_FILE=$1
+fi
if [ ! -e $JOB_FILE ]; then
echo "ERROR: LAVA job file $JOB_FILE not present."