Splunk Extension1.9.4Minimum Jenkins requirement: 2.138.4ID: splunk-devops-extend

Installs: 1228
Last released:
Maintainers
Ted Xiao

A component of Splunk Plugin for Jenkins to support pipeline jobs

Provided steps

  • sendSplunkFile
sendSplunkFile includes: "*.log", sizeLimit: "50MB"

sendSplunkFile

  • sendSplunkConsoleLog

since version 1.9.0, the plugin is able to capture all pipeline log via TaskListenerDecorator

enable-pipeline-log

sendSplunkConsoleLog step is only required when the global option is not checked

// scripted pipeline
sendSplunkConsoleLog {
  node{
    sh "echo testjob";
 }
}

// declarative pipeline
pipeline {
    agent any
    options {
        timeout(time: 1, unit: 'HOURS')
        sendSplunkConsoleLog()
    }
    stages {
        stage('Example') {
            steps {
                echo 'Hello World'
            }
        }
    }
}

Change Log

Located in the CHANGELOG.md

ArchivesGet past versions
Links
Labels
This plugin has no labels

Previous Security Warnings