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

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

    XMLWordPrintable

    Details

    • Sprint:
      1.0, Blue Ocean 1.0-rc3
    • Similar Issues:

      Description

      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)

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

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

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

            Looking for the separated log of parallel.

            Show
            radinsky Alex Radinsky added a comment - Looking for the separated log of parallel.
            Hide
            jamesdumay James Dumay added a comment -

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

            Show
            jamesdumay James Dumay added a comment - Alex Radinsky let me know if the updated description matches the problem accurately. I suspect this wouldn't be difficult for us to change
            Hide
            jamesdumay 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.

            Show
            jamesdumay 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.
            Hide
            brody Brody Maclean added a comment - - edited

            Stage log download

            Entire pipeline log (Artifacts tab)

            Show
            brody Brody Maclean added a comment - - edited Stage log download Entire pipeline log (Artifacts tab)
            Hide
            jamesdumay James Dumay added a comment -
            Show
            jamesdumay James Dumay added a comment - LGTM Brody Maclean
            Hide
            jamesdumay James Dumay added a comment -
            Show
            jamesdumay James Dumay added a comment - Thorsten Scherler the API has been prepared by Vivek Pandey on this PR https://github.com/jenkinsci/blueocean-plugin/pull/880
            Hide
            michaelneale Michael Neale added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: