summaryrefslogtreecommitdiffstats
path: root/utils/create-jobs.py
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-08-07 17:04:30 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-08-08 12:09:30 +0200
commit55c756f9846551f826ac82d079a692d37d5c77d2 (patch)
tree5b41de5987877880c8192a540683c086624cdb20 /utils/create-jobs.py
parente2df48ce0e435ef82efde7159b2f953206fa439f (diff)
Add/use the new arguemnt --build-tags
Add new argument --build-tags to be used in the job template and to be passed to the tests to be run along with using --device-tags. Bug-AGL: SPEC-2721 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
Diffstat (limited to 'utils/create-jobs.py')
-rwxr-xr-xutils/create-jobs.py4
1 files changed, 3 insertions, 1 deletions
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: