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

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

    XMLWordPrintable

Details

    • 1.0, Blue Ocean 1.0-rc3

    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

            jamesdumay James Dumay added a comment -

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

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

            Looking for the separated log of parallel.

            radinsky Alex Radinsky added a comment - Looking for the separated log of parallel.
            jamesdumay 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

            jamesdumay 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
            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.

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

            Stage log download

            Entire pipeline log (Artifacts tab)

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

            LGTM brody

            jamesdumay James Dumay added a comment - LGTM brody
            jamesdumay James Dumay added a comment - tscherler the API has been prepared by vivek on this PR https://github.com/jenkinsci/blueocean-plugin/pull/880
            michaelneale 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)

            michaelneale 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)

            People

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

              Dates

                Created:
                Updated:
                Resolved: