From 1184f3dced890482ced06adb8f5c236f69482b56 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Sun, 19 Feb 2017 19:38:52 +0100 Subject: Change fallback template and test for jobfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3f5c2a26e1ee8888a9ee840214558f33fe6c4c80 Signed-off-by: Jan-Simon Möller --- jjb/common/include-agl-run-test-short.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'jjb/common/include-agl-run-test-short.sh') diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 0e382727..cfe25156 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -27,10 +27,11 @@ rm ~/.local/token echo "## $TESTJOBFILE ##" -if [ -n $TESTJOBFILE -a -e $TESTJOBFILE ] ; then - cp $TESTJOBFILE testjob.yaml +if [ -e $TESTJOBFILE ] ; then + echo "Using $TESTJOBFILE ..." + cp $TESTJOBFILE testjob.yaml else -echo "!! NO TESTJOBFILE - trying to continue with a default !!" + echo "!! NO TESTJOBFILE - trying to continue with a default !!" fi cat < testjob.yaml @@ -62,7 +63,7 @@ actions: url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@' kernel: url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@' - initramfs: + initrd: url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@' allow_modify: false nbdroot: -- cgit 1.2.3-korg