Don't add a conditional, just add the job.

This commit is contained in:
Simon Quigley 2020-06-07 14:00:30 -05:00
parent f32f5dcea3
commit fec50ac982

View File

@ -228,9 +228,7 @@ class Generator:
else:
view = server.views.create(view)
# Only add to the view if it's not already in there
if not name in server.views[view]:
view.add_job(name)
view.add_job(name)
@timer.run("Master function loop")
def create_jenkins_jobs(self):