runconfig: Allow more control of buildbot step name/desc

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2020-11-11 18:18:33 +00:00
parent 3a9b218c83
commit 2c17ca10da

View File

@ -180,8 +180,11 @@ class RunConfigCheckSteps(shell.ShellCommand):
else: else:
steps = [] steps = []
for s in jsonconfig: for s in jsonconfig:
name = "run-config-" + s['name'] + "-" + s['phase'] if 'bbname' in s:
steps.append(get_runconfig_step(name, s['name'], s['phase'], name, self.posttrigger)) name = s['bbname']
else:
name = "run-config-" + s['name'] + "-" + s['phase']
steps.append(get_runconfig_step(name, s['name'], s['phase'], s['description'], self.posttrigger))
self.build.addStepsAfterCurrentStep(steps) self.build.addStepsAfterCurrentStep(steps)
return SUCCESS return SUCCESS