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

Suppress default pipeline output

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Component/s: workflow-job-plugin
    • Labels:
      None
    • Environment:
      CloudBees Jenkins Enterprise 2.7.19.0.1
    • Similar Issues:

      Description

      Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline]

      [Pipeline] node
      Running on Agent1 in C:\Jenkins\workspace\TEST JOB
      [Pipeline] {
      [Pipeline] withEnv
      [Pipeline] {
      [Pipeline] withCredentials
      [Pipeline] {
      [Pipeline] bat
      [TEST JOB] Running batch script
      [Pipeline] }
      [Pipeline] // withCredentials
      [Pipeline] }
      [Pipeline] // withEnv
      [Pipeline] }
      [Pipeline] // node
      

      Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as it adds too much information to our output. Ideally this should read:

      Running on Agent1 in C:\Jenkins\workspace\TEST JOB
      
      [TEST JOB] Running batch script
      

        Attachments

          Issue Links

            Activity

            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Jesse Glick Can it be that this ability to collapse sections with "(hide)" links is actually broken? Please note that I have not even known that something like this exists, so either I have never noticed that because I am blind, or are these links (that only appear via mouse over) actually new? (I just updated Jenkins plugins – and having a lot of guts – including "workflow-job:2.29")

            Show
            reinholdfuereder Reinhold Füreder added a comment - Jesse Glick Can it be that this ability to collapse sections with "(hide)" links is actually broken? Please note that I have not even known that something like this exists, so either I have never noticed that because I am blind, or are these links (that only appear via mouse over) actually new? (I just updated Jenkins plugins – and having a lot of guts – including "workflow-job:2.29")
            Hide
            jglick Jesse Glick added a comment -

            Reinhold Füreder the (hide) links were introduced in workflow-job 2.26.

            Show
            jglick Jesse Glick added a comment - Reinhold Füreder the (hide) links were introduced in workflow-job 2.26.
            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Thanks Jesse Glick – that explains my confusion/semi-blindness very well

            And since updating workflow-job plugin is still not recommended according to plugin center, I guess there is no sense in filing an issue for that, as the corresponding developers like Devin Nusbaum may be very well aware of it anyhow... ^^

            Sorry for the fuss

            Show
            reinholdfuereder Reinhold Füreder added a comment - Thanks Jesse Glick – that explains my confusion/semi-blindness very well And since updating workflow-job plugin is still not recommended according to plugin center, I guess there is no sense in filing an issue for that, as the corresponding developers like Devin Nusbaum may be very well aware of it anyhow... ^^ Sorry for the fuss
            Hide
            jglick Jesse Glick added a comment -

            I am the developer of this feature. If you are aware of some issues with it, please file in this component and assign to me, with steps to reproduce from scratch if possible.

            Show
            jglick Jesse Glick added a comment - I am the developer of this feature. If you are aware of some issues with it, please file in this component and assign to me, with steps to reproduce from scratch if possible.
            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            OK => I dared to file JENKINS-54904

            Show
            reinholdfuereder Reinhold Füreder added a comment - OK => I dared to file JENKINS-54904

              People

              • Assignee:
                Unassigned
                Reporter:
                cbanbery Callum Banbery
              • Votes:
                6 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated: