summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-12-11 20:24:16 +0000
committerGerrit Code Review <review@openstack.org>2017-12-11 20:24:16 +0000
commitf0013c53828f699ac4dea69638be6d54d4984a1e (patch)
tree2bb1f1eb35e49189ee1194a280d57df960835bce
parent16ba59dbcfd3a83be368b3db604c14767b3d3e91 (diff)
parent4e4a5e671ec15c3e0a7b89ff9092354a68032cc6 (diff)
downloadzuul-f0013c53828f699ac4dea69638be6d54d4984a1e.tar.gz
Merge "Add more job selection debug lines" into feature/zuulv3
-rw-r--r--zuul/model.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/zuul/model.py b/zuul/model.py
index 3a948e416..e53a357d2 100644
--- a/zuul/model.py
+++ b/zuul/model.py
@@ -2586,6 +2586,8 @@ class Layout(object):
try:
variants = self.collectJobs(jobname, change)
except NoMatchingParentError:
+ self.log.debug("No matching parents for job %s and change %s",
+ jobname, change)
variants = None
if not variants:
# A change must match at least one defined job variant
@@ -2607,6 +2609,11 @@ class Layout(object):
if variant.changeMatches(change):
frozen_job.applyVariant(variant)
matched = True
+ self.log.debug("Pipeline variant %s matched %s",
+ repr(variant), change)
+ else:
+ self.log.debug("Pipeline variant %s did not match %s",
+ repr(variant), change)
if not matched:
# A change must match at least one project pipeline
# job variant.