Rename irc-meetings index.html in job logs

Having the uploaded artifact "index.html" conflict with the file
index served for logs can cause some very confusing results. Make
sure this does not happen.

Change-Id: I6e76eb4009344fbb266a3d2909887682c87131b5
This commit is contained in:
Jeremy Stanley 2015-05-27 22:31:08 +00:00
parent 5f7fd7c0f3
commit 318c9c5021

View File

@ -145,5 +145,13 @@
envlist: 'ical'
publishers:
- postbuildscript:
builders:
- shell: |
#!/bin/bash -x
# We don't want this file to conflict with the log index
if test -f output/index.html; then
mv output/index.html output/site-index.html
fi
- zuul-swift-upload-logs-with-console:
upload_source: 'output/*'