allow 'branch' in git job
@@ -123,11 +123,12 @@ def parse_cache(d, path):
def parse_git(d, path):
check_allowed_properties(d, path, ("type", "name", "commit", "clone_url",
- "depends_on", "environment", "infrabox_file"))
+ "depends_on", "environment", "infrabox_file", "branch"))
check_required_properties(d, path, ("type", "name", "commit", "clone_url"))
check_name(d['name'], path + ".name")
check_text(d['commit'], path + ".commit")
check_text(d['clone_url'], path + ".clone_url")
+ check_text(d['branch'], path + ".clone_url")
if 'depends_on' in d:
parse_depends_on(d['depends_on'], path + ".depends_on")
