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

Show full log in case of no steps and no stages for a failed run

    Details

    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 3, Blue Ocean 1.5 - beta 1
    • Similar Issues:

      Description

      This one should almost be obvious from the description if someone has used blue ocean. 

      It is possible to get a run that fails very early on, but there are no reasonable flownodes, thus no steps, no stages, and useless blue ocean results screen. 

      In this case it should just show the full log (or the last N lines) vs failing the user. 

       

      One way to reproduce a subset of this would be to use a pipeline like the following. When clicking on a branch, it says "no steps" - this should fall back to showing the full log in the error case. 

       

      In the case where there is just one stage and in error but no steps - same applies. When there are no stages and in error - same applies. show log. 
      node {
      def hello_message = "Hello" stage('Fake1') {
      parallel firstBranch: {
      sh "echo ${helo_message}" }, secondBranch: {
      sh "echo ${hello_message}" }
      }
      }

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale Michael Neale added a comment -

            Alvaro Lobato it could be good if you could add some color here, perhaps with an example if possible, or a screen shot of the worst cases as you see them? 

            Show
            michaelneale Michael Neale added a comment - Alvaro Lobato it could be good if you could add some color here, perhaps with an example if possible, or a screen shot of the worst cases as you see them? 
            Hide
            michaelneale Michael Neale added a comment -

            this may be a non trivial amount of work - Ivan to investigate

            Show
            michaelneale Michael Neale added a comment - this may be a non trivial amount of work - Ivan to investigate
            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Thanks: this is a really awesome feature

            Show
            reinholdfuereder Reinhold Füreder added a comment - Thanks: this is a really awesome feature
            Hide
            michaelneale Michael Neale added a comment -

            Reinhold Füreder nice! has bugged me for a while. Did you get to try it in the new version yet? 

            Show
            michaelneale Michael Neale added a comment - Reinhold Füreder nice! has bugged me for a while. Did you get to try it in the new version yet? 
            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Oh yes, I upgraded yesterday afternoon to Blue Ocean 1.5.0 and this feature worked like a charm

            Show
            reinholdfuereder Reinhold Füreder added a comment - Oh yes, I upgraded yesterday afternoon to Blue Ocean 1.5.0 and this feature worked like a charm
            Hide
            michaelneale Michael Neale added a comment -

            Reinhold Füreder outstanding! That is great, it is a tricky one to nail down. 

             

            kudos to Nicolae Pascu for this!

            Show
            michaelneale Michael Neale added a comment - Reinhold Füreder outstanding! That is great, it is a tricky one to nail down.    kudos to Nicolae Pascu for this!
            Hide
            nicu Nicolae Pascu added a comment -

            I'm glad I could help, thanks for the feedback

            Show
            nicu Nicolae Pascu added a comment - I'm glad I could help, thanks for the feedback

              People

              • Assignee:
                nicu Nicolae Pascu
                Reporter:
                michaelneale Michael Neale
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: