×
Find plugins

Splunk Extension
1.7.4Minimum Jenkins requirement: 2.89.1ID: splunk-devops-extend

Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version:

Common utility implementations to build Pipeline jobs

A component of Splunk Plugin for Jenkins to support pipeline jobs.

Usage

  • sendSplunkFile

  • sendSplunkConsoleLog


#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'
            }
        }
    }
}


Changelog

1.7.2 (May 20, 2018)  

  • add pipeline execute diagram support (in graphviz format), data will be sent to index=jenkins_console source="BUILD_URL/graphviz", user could opt-in using job properties

    properties([splunkinsJobOption(enableDiagram: true)])

1.7.1 (Dec 7, 2018)  

  • fix JENKINS-50993 Pipeline-Stage-View Plugin is unable to show stage logs
  • add exec_node and arguments information for pipeline step
  • improve support for parallel step
  • remove deprecated step SplunkMessageStep

1.7.0 (Aug 29, 2018)  

  • optimize sending log file

1.5.2 -1.6.4

  • no code change, bundled with splunk-devops

1.5.1 (April 24, 2017)  

  • Extract step information for each pipeline stage

1.5.0 (April 16, 2017)  

1.4 (Dec 19, 2016)

  • sendSplunk was renamed to sendSplunkScript, user need update pipleline definition
  • added sendSplunkConsoleLog step

1.1-1.3

No code change, bundled with splunk-devops, just update dependancy of splunk-devops to the same version

1.0 (Oct 8, 2016)

  • Initial release
ArchivesGet past versions
Labels
This plugin has no labels
Previous Security Warnings