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

tool step does not report failures in its log

      If you attempt to install a tool that doesn't exist, the step will fail, but there is nothing in the steps log.

      You would see something like the attached in the stage view. The log should explain what is missing in the tool:

      (problem isn't with stage view, but is with the steps output)

      To reproduce:

      node {
        stage 'Checkout'
        checkout scm
        
        stage 'Build'
        def mvnHome = tool 'NONSENSE'
      }
      

      and look at the stage graph to see that it has no output

          [JENKINS-38776] tool step does not report failures in its log

          Michael Neale created issue -
          Michael Neale made changes -
          Rank New: Ranked higher
          Michael Neale made changes -
          Link New: This issue duplicates JENKINS-38750 [ JENKINS-38750 ]
          Michael Neale made changes -
          Link Original: This issue duplicates JENKINS-38750 [ JENKINS-38750 ]
          Michael Neale made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Michael Neale made changes -
          Assignee Original: rsandell [ rsandell ]
          Vivek Pandey made changes -
          Attachment New: screenshot-1.png [ 40162 ]
          Andrew Bayer made changes -
          Component/s New: workflow-basic-steps-plugin [ 21712 ]
          Component/s Original: pipeline [ 21692 ]
          Component/s Original: pipeline-utility-steps-plugin [ 21135 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-stage-view-plugin [ 21139 ]
          Component/s Original: workflow-basic-steps-plugin [ 21712 ]

            Unassigned Unassigned
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: