aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-prepare.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-04-30 00:28:06 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-04-30 00:28:06 +0200
commitdf7708c9fd8d92829452ca911c3f97aff2c85bcb (patch)
tree44f4c9491b4e20397a061df1746cc0f1faa4bda4 /jjb/common/include-agl-run-test-prepare.sh
parentf2e30b0b93428ffe9b5ad151204421f873489ac1 (diff)
Add caller to new branch argument for releng
This is necessary to deal with the dtb changes in releng and not the CI scripts. Change-Id: Ia12a8ccbb0527f7bd4a5518aeaefc5dafd7a7919 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-run-test-prepare.sh')
-rw-r--r--jjb/common/include-agl-run-test-prepare.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh
index b2404f4b..9a56c595 100644
--- a/jjb/common/include-agl-run-test-prepare.sh
+++ b/jjb/common/include-agl-run-test-prepare.sh
@@ -49,6 +49,10 @@ fi
CREATE_ARGS=""
CREATE_ARGS+="--machine ${releng_device} "
+if [[ $TARGETBRANCH ]] && [[ x"master" != x"$TARGETBRANCH" ]] ; then
+CREATE_ARGS+="--branch $TARGETBRANCH "
+fi
+
# If it's a release build
if [[ $RELEASE_BRANCH ]] && [[ $RELEASE_VERSION ]]; then
CREATE_ARGS+="--build-type release $RELEASE_BRANCH $RELEASE_VERSION "