summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xutils/create-jobs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/create-jobs.py b/utils/create-jobs.py
index ed705cf..c2e9b57 100755
--- a/utils/create-jobs.py
+++ b/utils/create-jobs.py
@@ -65,11 +65,11 @@ def parse_cmdline(machines, tests, rfs_types):
if args.callback_to and not args.callback_from:
parser.error("When using '--callback-to', '--callback-from' is mandatory.")
- if (args.build_type == "ci"):
+ if (args.build_type == "ci") and not args.url:
if (not args.changeid) or (not args.patchset):
parser.error("when using '--build-type' '--changeid' and '--patchset' arguments needs to be set.")
- if (args.build_type == "release"):
+ if (args.build_type == "release") and not args.url:
if (not args.vcs_branch) or (not args.version):
parser.error("when using '--build-type' '--branch' and '--versiom' arguments needs to be set.")