From b47a3aeeeb46b17e6cf862cc47292af3754b109d Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 21 Mar 2014 11:21:10 -0700 Subject: [PATCH] Add noop job to config validator With the addition of the internal "noop" job, the config validator should know that it exists when checking that a config file references valid jobs. Change-Id: Icea4def074fd9a1152966f2c768e30d98d432dfd --- zuul/cmd/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zuul/cmd/server.py b/zuul/cmd/server.py index 79a2538d42..13e6283ac6 100755 --- a/zuul/cmd/server.py +++ b/zuul/cmd/server.py @@ -137,6 +137,7 @@ class Server(object): if not os.path.exists(path): raise Exception("Unable to find job list: %s" % path) jobs = set() + jobs.add('noop') for line in open(path): v = line.strip() if v: