Apex: Fix functest docker tag injection 29/64029/1
authorTim Rozet <trozet@redhat.com>
Thu, 25 Oct 2018 16:30:18 +0000 (12:30 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 25 Oct 2018 16:30:18 +0000 (12:30 -0400)
The file needs to at least exist for the inject to work in the case
where the scenario is not rocky.

Change-Id: I2fca0574d69c08a13d0cc797741b276281eb3600
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-verify-jobs.yaml

index fb52fa1..fc1e734 100644 (file)
             echo "DOCKER_TAG=hunter" > functest_tag
           elif [[ "$features" =~ 'rocky' ]]; then
             echo "DOCKER_TAG=hunter" > functest_tag
+          else
+            touch functest_tag
           fi
       - inject:
           properties-file: functest_tag