diff options
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index f8fdc829..a2a3dda6 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -20,7 +20,12 @@ if [ ! -z $RELENG ] && \ [[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="-j $GERRIT_CHANGE_NUMBER " [[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="-i $GERRIT_PATCHSET_NUMBER " [[ ! -z $TARGETIMAGE ]] && CREATE_ARGS+="--img-name $TARGETIMAGE --img-ext ext4.xz " - CREATE_ARGS+="--test smoke -- " + BUILD_VERSION="AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER" + [[ -e output/repo-manifest-r.txt.sha1 ]] && BUILD_VERSION+="-$(cat output/repo-manifest-r.txt.sha1)" + CREATE_ARGS+="--name AGL-gerrit " + CREATE_ARGS+="--build-version $BUILD_VERSION " + CREATE_ARGS+="--callback lab-baylibre-legacy " + CREATE_ARGS+="--test all -- " $RELENG/utils/create-jobs.py ${CREATE_ARGS} ${__MACHINE} > testjob.yaml cat testjob.yaml else |