aboutsummaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index 59abcb0..dda2d77 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -99,6 +99,7 @@ class Agljobtemplate(object):
job['yocto_machine'] = machine
job['priority'] = priority
job['build_type'] = build_type
+ job['image_type'] = "AGL-%s" % build_type
defaults, infra = parse_cfg_file(self._template_path, 'default.cfg', build_type)
@@ -150,6 +151,12 @@ class Agljobtemplate(object):
if build_version is not None:
job['kernel_version'] = build_version
+ if url_version:
+ job['kernel_version'] = url_version
+
+ if url_branch:
+ job['vcs_branch'] = url_branch
+
if rfs_type is not None:
job['rootfs_type'] = rfs_type