Plumb through keep jobdir option
Change-Id: Ie759ac88a80a3502ad3a394173c6a3bebef31d0d
diff --git a/zuul/launcher/server.py b/zuul/launcher/server.py
index 3ee6c72..f2b04f4 100644
--- a/zuul/launcher/server.py
+++ b/zuul/launcher/server.py
@@ -484,7 +484,8 @@
def launch(self):
try:
- self.jobdir = JobDir(root=self.launcher_server.jobdir_root)
+ self.jobdir = JobDir(root=self.launcher_server.jobdir_root,
+ keep=self.launcher_server.keep_jobdir)
self._launch()
except Exception:
self.log.exception("Exception while launching job")