Remove build descriptions
These (the HTML formatted information we would display on Jenkins
about related builds) are no longer relevant in v3.
Change-Id: Id1c3ff353308f2732d223f63dec5fb743029ec2c
diff --git a/tests/base.py b/tests/base.py
index 7fc828b..8017c51 100755
--- a/tests/base.py
+++ b/tests/base.py
@@ -546,7 +546,6 @@
self.waiting = False
self.aborted = False
self.created = time.time()
- self.description = ''
self.run_error = False
def release(self):
@@ -624,8 +623,7 @@
self.worker.build_history.append(
BuildHistory(name=self.name, number=self.number,
result=result, changes=changes, node=self.node,
- uuid=self.unique, description=self.description,
- parameters=self.parameters,
+ uuid=self.unique, parameters=self.parameters,
pipeline=self.parameters['ZUUL_PIPELINE'])
)
@@ -689,8 +687,6 @@
self.handleLaunch(job)
elif cmd == 'stop':
self.handleStop(job)
- elif cmd == 'set_description':
- self.handleSetDescription(job)
def handleLaunch(self, job):
# TODOv3(jeblair): handle nodes
@@ -716,24 +712,6 @@
return
job.sendWorkFail()
- def handleSetDescription(self, job):
- self.log.debug("handle set description")
- parameters = json.loads(job.arguments)
- name = parameters['name']
- number = parameters['number']
- descr = parameters['html_description']
- for build in self.running_builds:
- if build.name == name and build.number == number:
- build.description = descr
- job.sendWorkComplete()
- return
- for build in self.build_history:
- if build.name == name and build.number == number:
- build.description = descr
- job.sendWorkComplete()
- return
- job.sendWorkFail()
-
def work(self):
while self.running:
try: