changing dir for chmod in taskotron master to be appropriate for slave

This commit is contained in:
Tim Flink 2015-02-26 16:43:23 +00:00
parent 0fa35e4b67
commit dddcbb09bf

View file

@ -181,7 +181,7 @@ factory.addStep(FileUpload(slavesrc="/var/log/taskotron/taskotron.log",
masterdest=Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/taskotron.log')))
# change permissions for uuid dir to be accessible via http
factory.addStep(ShellCommand(command=["chmod", '-R', '0755', Interpolate('{{ public_artifacts_dir }}/%(prop:uuid)s/')]))
factory.addStep(ShellCommand(command=["chmod", '-R', '0755', Interpolate('/var/lib/taskotron/artifacts/%(prop:uuid)s/')]))
{% else %}
# capture the taskotron log