diff options
author | Khouloud Touil <ktouil@baylibre.com> | 2019-02-27 14:13:31 +0100 |
---|---|---|
committer | Khouloud Touil <ktouil@baylibre.com> | 2019-02-27 14:13:31 +0100 |
commit | e59eb07ccfda79815c9370070d6571ceaf5f6912 (patch) | |
tree | 76e6c6a7af61e6cd9898c9609bc14f9504074a4e /jjb/common | |
parent | 06b60bc9d0ea1f3933a878e6985985362b194131 (diff) |
Use the new --build-id argument
This patch uses the new --build-id argument of create-jobs that will
contain the DIST_BUILD_ID value that is extracted from the build-info
file.
Change-Id: Ic1bf82967a4cd94bce9701251d7f5a9700998271
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-run-test-short-guppy.sh | 1 | ||||
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/jjb/common/include-agl-run-test-short-guppy.sh b/jjb/common/include-agl-run-test-short-guppy.sh index 6852600b..d05931b8 100644 --- a/jjb/common/include-agl-run-test-short-guppy.sh +++ b/jjb/common/include-agl-run-test-short-guppy.sh @@ -23,6 +23,7 @@ CREATE_ARGS+="--url https://download.automotivelinux.org/AGL/upload/ci/${RELEASE CREATE_ARGS+="--name AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION " [[ ! -z $DIST_BB_DISTRO_VERSION ]] && CREATE_ARGS+="--build-version $DIST_BB_DISTRO_VERSION " [[ ! -z $DIST_BUILD_HASH ]] && CREATE_ARGS+="--commit $DIST_BUILD_HASH " +[[ ! -z $DIST_BUILD_ID ]] && CREATE_ARGS+="--build-id $DIST_BUILD_ID " CREATE_ARGS+="--callback-from ${LAVA_LAB} " $RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 7ebc91ee..459eb59a 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -24,6 +24,7 @@ CREATE_ARGS+="--build-type ci " CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER " [[ ! -z $DIST_BB_DISTRO_VERSION ]] && CREATE_ARGS+="--build-version $DIST_BB_DISTRO_VERSION " [[ ! -z $DIST_BUILD_HASH ]] && CREATE_ARGS+="--commit $DIST_BUILD_HASH " +[[ ! -z $DIST_BUILD_ID ]] && CREATE_ARGS+="--build-id $DIST_BUILD_ID " CREATE_ARGS+="--callback-from ${LAVA_LAB} " if [[ ! -z $lavacli_tags ]] && [[ $MACHINE =~ "-nogfx" ]]; then CREATE_ARGS+="--device-tags ${lavacli_tags} " |