mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-07 15:01:34 +00:00
The removed timers were redundant.
This commit is contained in:
parent
1b502ee4e4
commit
c6f4117ab7
@ -186,9 +186,6 @@ class Generator:
|
|||||||
and the need for several high-volume variables, this makes sense.
|
and the need for several high-volume variables, this makes sense.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Start a timer
|
|
||||||
timer.start("Getting existing Jenkins jobs")
|
|
||||||
|
|
||||||
# Get the generator object with the jobs and create an empty list
|
# Get the generator object with the jobs and create an empty list
|
||||||
s_jobs = server.get_jobs()
|
s_jobs = server.get_jobs()
|
||||||
jobs = []
|
jobs = []
|
||||||
@ -202,9 +199,6 @@ class Generator:
|
|||||||
# Make sure jobs is a tuple
|
# Make sure jobs is a tuple
|
||||||
jobs = tuple(jobs)
|
jobs = tuple(jobs)
|
||||||
|
|
||||||
# Stop the timer and log the time
|
|
||||||
timer.stop("Getting existing Jenkins jobs")
|
|
||||||
|
|
||||||
return jobs
|
return jobs
|
||||||
|
|
||||||
def create_jenkins_jobs(self):
|
def create_jenkins_jobs(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user