This repository was archived by the owner on Jun 12, 2020. It is now read-only.

Description
Given the following Jenkinsfile :
{sendSplunkConsoleLog {
node {
currentBuild.result = "SUCCESS"
try {
stage('Checkout'){
checkout scm
sh "echo foobar";
}
stage('Test'){
print "TEST Stage"
}
stage('Build'){
print "BUILD Stage"
}
stage('Deploy'){
print "Deploy Stage"
}
stage('Post-Build'){
print "Cleanup work space and send notifications"
}
}
catch (err) {
currentBuild.result = "FAILURE"
print "Notify Build ERROR"
throw err
}
}
}
I'd expect the plugin to forward the full console output to Splunk. But when viewed in Splunk, only the output of the step sh "echo foobar"; is forwarded.
Is this intentional? Is is possible to forward the full console log?