Skip to content

Commit 96914b3

Browse files
committed
Forward branch information for git jobs
1 parent 5144520 commit 96914b3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/job/job.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,8 @@ def get_job_list(self, data, c, repo, parent_name="",
11481148
"clone_url": job['clone_url'],
11491149
"commit": job['commit'],
11501150
"infrabox_file": ib_file,
1151-
"clone_all": True
1151+
"clone_all": True,
1152+
"branch": job.get('branch', None)
11521153
}
11531154

11541155
new_infrabox_context = os.path.dirname(ib_path)

0 commit comments

Comments
 (0)