mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-03 13:51:28 +00:00
Don't add a conditional, just add the job.
This commit is contained in:
parent
f32f5dcea3
commit
fec50ac982
@ -228,9 +228,7 @@ class Generator:
|
|||||||
else:
|
else:
|
||||||
view = server.views.create(view)
|
view = server.views.create(view)
|
||||||
|
|
||||||
# Only add to the view if it's not already in there
|
view.add_job(name)
|
||||||
if not name in server.views[view]:
|
|
||||||
view.add_job(name)
|
|
||||||
|
|
||||||
@timer.run("Master function loop")
|
@timer.run("Master function loop")
|
||||||
def create_jenkins_jobs(self):
|
def create_jenkins_jobs(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user