Merge "Avoid multiple build cancelations" into feature/zuulv3

changes/46/427946/9
Jenkins 6 years ago committed by Gerrit Code Review
commit 644f7c65c9

@ -400,6 +400,9 @@ class PipelineManager(object):
old_build_set.node_requests = {}
canceled_jobs = set()
for build in old_build_set.getBuilds():
if build.result:
canceled_jobs.add(build.job.name)
continue
was_running = False
try:
was_running = self.sched.launcher.cancel(build)

Loading…
Cancel
Save