Merge "Add debug message to job freezing"

This commit is contained in:
Zuul 2018-07-27 18:36:33 +00:00 committed by Gerrit Code Review
commit 3b6aeb394b
1 changed files with 2 additions and 0 deletions

View File

@ -3365,6 +3365,7 @@ class Layout(object):
override_checkouts=override_checkouts)
except NoMatchingParentError:
variants = None
self.log.debug("Collected jobs %s for %s", jobname, change)
if not variants:
# A change must match at least one defined job variant
# (that is to say that it must match more than just
@ -3380,6 +3381,7 @@ class Layout(object):
frozen_job.applyVariant(variant, item.layout)
frozen_job.name = variant.name
frozen_job.name = jobname
self.log.debug("Froze job %s for %s", jobname, change)
# Whether the change matches any of the project pipeline
# variants
matched = False