summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2015-12-10 10:58:25 +0100
committerbertagaz <bertagaz@ptitcanardnoir.org>2015-12-10 10:58:25 +0100
commitf4bfc24a9422afe73201c54457de6d9135abe010 (patch)
treed8aa9d165cb7cb36272220e06e9c4db44577103c
parentf97033f9669a77918e56d7fdb581d89a1b0d12b6 (diff)
Search for wip prefix on branch_name only.feature/10389-jenkins-ignore-WIP-branches
Doesn't work on the whole active_branch dict, no surprise.
-rwxr-xr-xfiles/jenkins/master/generate_tails_iso_jobs2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/jenkins/master/generate_tails_iso_jobs b/files/jenkins/master/generate_tails_iso_jobs
index 2e6bfa0..0ac6551 100755
--- a/files/jenkins/master/generate_tails_iso_jobs
+++ b/files/jenkins/master/generate_tails_iso_jobs
@@ -65,7 +65,7 @@ if __name__ == "__main__":
args = parser.parse_args()
wip_branch_re = re.compile(r'^wip/')
for active_branch in get_active_branches(args.Tails_git_directory):
- if not wip_branch_re.search(active_branch):
+ if not wip_branch_re.search(active_branch['branch_name']):
project = TailsISOProject(active_branch)
project_filename = args.Projects_directory + "%s.yaml" % active_branch['project_name']
with open(project_filename, 'w') as project_file: