diff options
author | 2017-11-06 16:12:21 +0100 | |
---|---|---|
committer | 2017-11-06 16:12:21 +0100 | |
commit | b60f14c15a915276d6b31aded82cad4967ceb8f4 (patch) | |
tree | 0966fa4b914d774bddfca7b0e3a3f1208489494e /jjb/common/include-agl-run-test-short.sh | |
parent | 7b7b42b8a9862d7cc9e5cff585999aaf802cab02 (diff) |
Update releng calls to use new args
Update the releng arguments:
- Use the new url scheme with CI, changeid and patchset
- Use machine argument
Change-Id: Ie341a1edf6f341796a7fe0647bf61f29172eedb4
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short.sh')
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 6600f240..13031e55 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -21,14 +21,16 @@ if [ ! -z $RELENG ] && \ echo "## Check version of python-jinja2: " pip show jinja2 CREATE_ARGS="" - [[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="-j $GERRIT_CHANGE_NUMBER " - [[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="-i $GERRIT_PATCHSET_NUMBER " + CREATE_ARGS+="--machine ${__MACHINE} " + CREATE_ARGS+="--url ci " + [[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="--changeid $GERRIT_CHANGE_NUMBER " + [[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="--patchset $GERRIT_PATCHSET_NUMBER " 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 -- " + CREATE_ARGS+="--test all" $RELENG/utils/create-jobs.py ${CREATE_ARGS} ${__MACHINE} > testjob.yaml cat testjob.yaml else |