buildmaster: make step names in waterfall more readable

This commit is contained in:
Martin Krizek 2014-08-20 11:44:39 +00:00
parent 6b3c84aa7c
commit 4f96d09054

View file

@ -141,7 +141,7 @@ factory = BuildFactory()
factory.addStep(RemoveDirectory(dir="/var/tmp/taskotron/"))
# clean the log (see T230)
factory.addStep(ShellCommand(command=["rm", "-f", "/var/log/taskotron/taskotron.log"], name="rm_log"))
factory.addStep(ShellCommand(command=["rm", "-f", "/var/log/taskotron/taskotron.log"], name="rm_log", descriptionDone=['Clean log']))
# check out the source
factory.addStep(Git(repourl=Interpolate('{{ grokmirror_user }}@{{ buildmaster }}:/var/lib/git/mirror/fedoraqa/%(prop:taskname)s/'),
@ -154,10 +154,12 @@ factory.addStep(ShellCommand(command=["runtask", '-i',
'-a', Interpolate('%(prop:arch)s'),
'-j', Interpolate('%(prop:buildername)s/%(prop:buildnumber)s'),
Interpolate('%(prop:taskname)s.yml')],
descriptionDone=[Interpolate('%(prop:taskname)s on %(prop:item)')],
name='runtask'))
# capture the taskotron log
factory.addStep(ShellCommand(command=["cat", "/var/log/taskotron/taskotron.log"], name="cat_log"))
factory.addStep(ShellCommand(command=["cat", "/var/log/taskotron/taskotron.log"], name="cat_log",
descriptionDone=['Store log']))
####### RESOURCE LOCKS