Builder macros for generating indexes

Add in new macros for generating indexes and uploading files with
or without them.

Change-Id: Ia10ad3d62631744266bc9ed2a813dc91e52666d2
This commit is contained in:
Joshua Hesketh 2014-07-16 21:26:33 +10:00
parent d5411ce2b6
commit ae7818772f
3 changed files with 11 additions and 3 deletions

View File

@ -327,9 +327,16 @@
builders: builders:
- shell: "/usr/local/jenkins/slave_scripts/grab_console_log.sh" - shell: "/usr/local/jenkins/slave_scripts/grab_console_log.sh"
- zuul_swift_upload_logs: - zuul_swift_upload_logs:
upload_source: '/tmp/consoleText' upload_source: '/tmp/console.txt'
- builder:
name: zuul_swift_upload_logs_with_console
builders:
- shell: "/usr/local/jenkins/slave_scripts/grab_console_log.sh"
- zuul_swift_upload_logs:
upload_source: '{upload_source} /tmp/console.txt'
# ====================================================================== # ======================================================================

View File

@ -44,7 +44,8 @@
- pep8: - pep8:
github-org: '{github-org}' github-org: '{github-org}'
project: '{name}' project: '{name}'
- zuul_swift_upload_console_log - zuul_swift_upload_logs_with_console:
upload_source: '.tox/pep8/log'
publishers: publishers:
- console-log - console-log

View File

@ -3,4 +3,4 @@
echo "Grabbing consoleLog" echo "Grabbing consoleLog"
console_log_path='consoleText' console_log_path='consoleText'
wget -P /tmp --no-check-certificate $BUILD_URL$console_log_path wget -P /tmp/console.txt --no-check-certificate $BUILD_URL$console_log_path