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:
parent
9193bbb583
commit
d89c72fbcb
6
modules/jenkins/files/slave_scripts/grab_console_log.sh
Executable file
6
modules/jenkins/files/slave_scripts/grab_console_log.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user