aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-prepare.sh
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-04-30 13:38:49 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-04-30 13:38:49 +0000
commitaafe45538122a03b7b507c973a1aa5885eb58851 (patch)
tree05dfad205b2f66543021a572a8bed8bb4af46315 /jjb/common/include-agl-run-test-prepare.sh
parent54d2b08a1d8c86be2d525248b7c8ecc66395c913 (diff)
parentdf7708c9fd8d92829452ca911c3f97aff2c85bcb (diff)
Merge "Add caller to new branch argument for releng"
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 "