highlight the error condition when reporting a config issue
Add the word "ERROR" to make it easier to find the error when searching
the loooong output produced by zuul-server when checking its config
file, to make debugging failures of the validation tests in patches to
project-config simpler.
Change-Id: I38cf31619eb309ebb7fc49eca4437a9c36bcb1ce
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
diff --git a/zuul/cmd/server.py b/zuul/cmd/server.py
index 1fb4a32..5e675fd 100755
--- a/zuul/cmd/server.py
+++ b/zuul/cmd/server.py
@@ -107,7 +107,7 @@
jobs.add(v)
for job in sorted(layout.jobs):
if job not in jobs:
- print("Job %s not defined" % job)
+ print("FAILURE: Job %s not defined" % job)
failure = True
return failure