aboutsummaryrefslogtreecommitdiffstats
path: root/utils/create-jobs.py
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-02-18 11:15:21 +0100
committerKhouloud Touil <ktouil@baylibre.com>2019-02-28 10:04:53 +0100
commit2a7259d308ebd8e9d28c47e72fae460a1ca2a1b2 (patch)
tree4305830102681722e2bb9258a777dabfb2861480 /utils/create-jobs.py
parent2a379506c2153e954cf8d80fa529d36bbcad813a (diff)
Add new vcs_commit argument
Add new vcs_commit arguement that will display in the metadeta field the build hash information. Change-Id: I079dfb8efda2ce82677e867804b3937d5a1f13c2 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
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 cac7a9c..0d6b0d7 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('--commit', dest='vcs_commit', action='store',
+ help="The build hash.")
args = parser.parse_args()
@@ -86,7 +88,7 @@ def main():
kernel_image=args.kernel_img,
dtb_image=args.dtb_img,
modules_image=args.modules_img,
- build_type=args.build_type,
+ build_type=args.build_type, vcs_commit=args.vcs_commit,
build_version=args.build_version, device_tags=args.device_tags)
if args.job_file is None: