aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-05-16 11:06:46 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-05-16 11:07:49 +0200
commit72ca3d400baf8bb226fea9abd2ab4ef453433f3a (patch)
tree81341af7ca7d768edfe5cb168272b830294484c3 /jjb
parent792d809796c7619aab642ba171b377e9a43cf235 (diff)
SPEC-1850: give the branch used to releng-scripts
I have assumed that only master is used for appfw but it is false. Some app review are done against non-master branch. This patch give to releng-script the branch used via --app-branch. Change-Id: Ia2e15aef7d624c81974b7830c0bbd3623f5b7c42 Bug-AGL: SPEC-1850 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/common/include-agl-app-run-test-short.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/common/include-agl-app-run-test-short.sh b/jjb/common/include-agl-app-run-test-short.sh
index 1ff49355..7a8f59e5 100644
--- a/jjb/common/include-agl-app-run-test-short.sh
+++ b/jjb/common/include-agl-app-run-test-short.sh
@@ -33,6 +33,7 @@ esac
CREATE_ARGS+="--build-type snapshot --branch master --version latest "
[[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="--app-changeid $GERRIT_CHANGE_NUMBER "
[[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="--app-patchset $GERRIT_PATCHSET_NUMBER "
+[[ ! -z $AGLBRANCH ]] && CREATE_ARGS+="--app-branch $AGLBRANCH "
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-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER "