Add slavescript to grab console log

The console logs are at
http://buildserver/jenkins/job/MyJobName/666/consoleText

Add in a shell script to grab the console log using $BUILD_URL
(https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-JenkinsSetEnvironmentVariables)

Change-Id: I481fdec77d42918a68ba13645912704948f86a36
This commit is contained in:
Joshua Hesketh 2014-05-21 12:53:43 +10:00
parent 9193bbb583
commit d89c72fbcb

View File

@ -0,0 +1,6 @@
#!/bin/bash -xe
echo "Grabbing consoleLog"
$console_log_path='consoleText'
wget -P /tmp --no-check-certificate $BUILD_URL$console_log_path