From 72ca3d400baf8bb226fea9abd2ab4ef453433f3a Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 16 May 2019 11:06:46 +0200 Subject: 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 --- jjb/common/include-agl-app-run-test-short.sh | 1 + 1 file changed, 1 insertion(+) 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 " -- cgit 1.2.3-korg