summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/agljobtemplate.py')
-rw-r--r--utils/agljobtemplate.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index e6876e7..1cda5ad 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -87,7 +87,7 @@ class Agljobtemplate(object):
def render_job(self, machine, url=None, changeid=None, patchset=None, version=None,
job_name="AGL-short-smoke", priority="medium", tests=[], rfs_type=None,
- lava_callback=None, kci_callback=None,
+ lava_callback=None, kci_callback=None, build_id=None,
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=""):
@@ -160,6 +160,9 @@ class Agljobtemplate(object):
if build_version is not None:
job['kernel_version'] = build_version
+ if build_id is not None:
+ job['kernel_defconfig'] = build_id
+
if rfs_type is not None:
job['rootfs_type'] = rfs_type