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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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 }


      }
      }
      }

        Attachments

          Activity

          Hide
          fengxx Ted Xiao added a comment -

          I can not reproduce, please make sure pipeline related plugins get updated to latest version, e.g.
          https://plugins.jenkins.io/workflow-job
          https://plugins.jenkins.io/workflow-support

          Show
          fengxx Ted Xiao added a comment - I can not reproduce, please make sure pipeline related plugins get updated to latest version, e.g. https://plugins.jenkins.io/workflow-job https://plugins.jenkins.io/workflow-support

            People

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

              Dates

              Created:
              Updated:
              Resolved: