Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58050

sh commands and result set not being published in logs->Splunk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • splunk-devops-plugin
    • None

      Basic pipeline example. sh commands such as `ls` do not get published back to Splunk

       

      ```

      pipeline {
      agent

      { label 'test' }

      options

      { sendSplunkConsoleLog() }

      stages {
      stage ('ShellStage'){
      steps

      { sh pwd sh ls }


      }
      }
      }

            fengxx Ted Xiao
            stevendeal Steven Deal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: