diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/agljobtemplate.py | 3 | ||||
-rwxr-xr-x | utils/create-jobs.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py index a74b7a6..867bfab 100644 --- a/utils/agljobtemplate.py +++ b/utils/agljobtemplate.py @@ -91,7 +91,7 @@ class Agljobtemplate(object): 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="", + build_version=None, device_tags="", build_tags="", applications_url=None, app_changeid=None, app_patchset=None, app_branch=None): if machine not in self.machines: @@ -157,6 +157,7 @@ class Agljobtemplate(object): job['APPURL'] = applications_url job['DEVICE_TAGS'] = device_tags + job['BUILD_TAGS'] = build_tags test_templates = [] # If the user doesn't specify tests, use the default ones from the build-type diff --git a/utils/create-jobs.py b/utils/create-jobs.py index 5a0f660..28eb643 100755 --- a/utils/create-jobs.py +++ b/utils/create-jobs.py @@ -55,6 +55,8 @@ def parse_cmdline(machines, tests, rfs_types): help="the version number of the build.") parser.add_argument('--device-tags', dest='device_tags', action='store', help="The device tags to be used to create the job.", nargs='*', default="") + parser.add_argument('--build-tags', dest='build_tags', action='store', + help="The build tags to be used to create the job.", nargs='*', default="") parser.add_argument('--commit', dest='vcs_commit', action='store', help="The build hash.") parser.add_argument('--build-id', dest='build_id', action='store', @@ -100,7 +102,7 @@ def main(): modules_image=args.modules_img, vcs_branch=args.vcs_branch, build_type=args.build_type, vcs_commit=args.vcs_commit, build_version=args.build_version, device_tags=args.device_tags, - applications_url=args.applications_url, + applications_url=args.applications_url, build_tags=args.build_tags, app_changeid=args.app_changeid, app_patchset=args.app_patchset, app_branch=args.app_branch) if args.job_file is None: |