summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-05-15 16:20:24 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-05-15 16:22:22 +0200
commite0f674a2693507d589d8a43c38496ff80e56d8c7 (patch)
treeea54ba78493cceea6b3120523cb9a60d714d9b1e /utils/agljobtemplate.py
parent1495bc00e56e44059ee05126eda30b2f85c93b58 (diff)
SPEC-1850: permit to override master branch for appfw
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 adds a way to change the branch used via --app-branch. Bug-AGL: SPEC-1850 Change-Id: I10c8ad0e5a08158f9c2295692e4b3c266b97b14e Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index 90ff82c..cbf27e7 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -92,7 +92,7 @@ class Agljobtemplate(object):
rfs_image=None, kernel_image=None, dtb_image=None, modules_image=None,
build_type=None, vcs_commit=None, vcs_branch=None,
build_version=None, device_tags="",
- applications_url=None, app_changeid=None, app_patchset=None):
+ applications_url=None, app_changeid=None, app_patchset=None, app_branch=None):
if machine not in self.machines:
raise RuntimeError("{} is not a available machine".format(machine))
@@ -144,6 +144,7 @@ class Agljobtemplate(object):
job['app_changeid'] = app_changeid
job['app_patchset'] = app_patchset
+ job['app_branch'] = app_branch
job['app_url_base'] = app_url_base
job['APPURL'] = 'automatic'
else: