buildmaster: disable date directory for a bit
This commit is contained in:
parent
a981011747
commit
1a6a0aa35d
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,7 @@ factory.addStep(DirectoryUpload(slavesrc=Interpolate('/var/lib/taskotron/artifac
|
|||
factory.addStep(FileUpload(slavesrc='/var/log/taskotron/taskotron.log',
|
||||
masterdest=Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/taskotron.log'),
|
||||
mode=0644))
|
||||
|
||||
'''
|
||||
import datetime
|
||||
from buildbot.process.properties import renderer
|
||||
|
||||
|
@ -196,6 +196,7 @@ def today(props):
|
|||
# move artifacts dir
|
||||
factory.addStep(MasterShellCommand(command=["mkdir", '-p', '-m', '0755', Interpolate('{{ public_artifacts_dir }}/%(kw:today)s', today=today), '&&', 'mv', Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/'), Interpolate('{{ public_artifacts_dir }}/%(kw:today)s/', today=today)],
|
||||
descriptionDone=['Move artifacs dir']))
|
||||
'''
|
||||
{% else %}
|
||||
# capture the taskotron log
|
||||
factory.addStep(ShellCommand(command=["cat", "/var/log/taskotron/taskotron.log"], name="cat_log",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue