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

Developer would like to get the logs for a stage or parallel

    • 1.0, Blue Ocean 1.0-rc3

      Scope

      • Log toolbar buttons should open or download the log for the selected stage or parallel
        • Freestyle behaviour remains the same as before this change - e.g. the buttons should show or download the full log for freestyle
      • Link to full Pipeline log appears on Artifact tab (looks like an artifact)
        • name: "pipeline.log"
        • size: "–"

      Problem
      There is no way to get the log for the whole stage or parallel. The full log is not useful as it intermingles logs from different parallel branches.

      Design brief
      What we'd like to do is change the download/view links for the log so that they only produce logs for the stage/parallel that has been selected. We should then have download/view links for the whole log somewhere else - I am thinking the same has to go above the graph? Need to think about what this looks like when the graph is present and not present.

      • Full log appears as an artifact

      Original request
      Will be nice to have "expand all" button to see all steps (view whole log doesn't help due multiple parallels)

          [JENKINS-40526] Developer would like to get the logs for a stage or parallel

          James Dumay added a comment -

          radinsky instead of an expand all would you prefer the raw log for just that stage or parallel?

          James Dumay added a comment - radinsky instead of an expand all would you prefer the raw log for just that stage or parallel?

          Alex Radinsky added a comment -

          Looking for the separated log of parallel.

          Alex Radinsky added a comment - Looking for the separated log of parallel.

          James Dumay added a comment -

          radinsky let me know if the updated description matches the problem accurately. I suspect this wouldn't be difficult for us to change

          James Dumay added a comment - radinsky let me know if the updated description matches the problem accurately. I suspect this wouldn't be difficult for us to change

          James Dumay added a comment -

          We're going to need some help here. What we'd like to do is change the download/view links for the log so that they only produce logs for the stage/parallel that has been selected. We should then have download/view links for the whole log somewhere else - I am thinking the same has to go above the graph? Need to think about what this looks like when the graph is present and not present.

          James Dumay added a comment - We're going to need some help here. What we'd like to do is change the download/view links for the log so that they only produce logs for the stage/parallel that has been selected. We should then have download/view links for the whole log somewhere else - I am thinking the same has to go above the graph? Need to think about what this looks like when the graph is present and not present.

          Brody Maclean added a comment - - edited

          Stage log download

          Entire pipeline log (Artifacts tab)

          Brody Maclean added a comment - - edited Stage log download Entire pipeline log (Artifacts tab)

          James Dumay added a comment -

          LGTM brody

          James Dumay added a comment - LGTM brody

          James Dumay added a comment -

          James Dumay added a comment - tscherler the API has been prepared by vivek on this PR https://github.com/jenkinsci/blueocean-plugin/pull/880

          Michael Neale added a comment -

          maybe imeredith could pick this one up for 1.0 as it will be harder to do after (for non technical reasons)

          Michael Neale added a comment - maybe imeredith could pick this one up for 1.0 as it will be harder to do after (for non technical reasons)

            imeredith Ivan Meredith
            radinsky Alex Radinsky
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: