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

Add timestamps to Blue Ocean log

    XMLWordPrintable

Details

    • Blue Ocean - Candidates

    Description

      Scope

      • Switch from line numbers to time stamp

      Original request
      The console output in blue ocean seems to suppress the time stamps for each log line but this info can be useful. For example if we have a hanging test then in blue ocean it might say:

       

      Test 123 started
      Sending interrupt signal
      

       

      That could mean that the stage was aborted manually or because of a failure in another stage or because this stage timed out.

      In regular log it might say:

      3:23:00 Test 123 started
      3:43:00 Sending interrupt signal
      
      

      And this is where it's clear that the interrupt was due to a 20 minute timeout being reached. Makes the logs much more useful.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            The release of JENKINS-48344 should open up a new implementation possibility for this in Blue Ocean.

            jglick Jesse Glick added a comment - The release of JENKINS-48344 should open up a new implementation possibility for this in Blue Ocean.
            ethorsa ethorsa added a comment -

            Timestamper 1.9 provides support for timestamps in pipelines. It's even possible to enable them globally.

            ethorsa ethorsa added a comment - Timestamper 1.9 provides support for timestamps in pipelines. It's even possible to enable them globally.
            stevelohr Steve Lohr added a comment -

            ethorsa it is not about timestamps in pipelines but the display of them in Blue Ocean

            stevelohr Steve Lohr added a comment - ethorsa it is not about timestamps in pipelines but the display of them in Blue Ocean
            steffen_wilke Steffen Wilke added a comment -

            Proper timestamp visualization in the Blue Ocean view would be very much appreciated! Having to switch to the old UI for this is time-consuming and inconsistent.

            steffen_wilke Steffen Wilke added a comment - Proper timestamp visualization in the Blue Ocean view would be very much appreciated! Having to switch to the old UI for this is time-consuming and inconsistent.
            luckyhorang Hokwang Lee added a comment -

            In my case, 

            I am using timestamp plugin,

            In console output, timezone is OK. but log is too long.

            It shows

            15:26:36 blah blah
            

            So I want to see log in blueocean for each stage, step.

            but int blue ocean, timezone is UTC maybe.

            It shows

            [2019-07-09T06:23:02.385Z]  blah blah
            

             

            even though I set timezone properly.

             

            luckyhorang Hokwang Lee added a comment - In my case,  I am using timestamp plugin, In console output, timezone is OK. but log is too long. It shows 15:26:36 blah blah So I want to see log in blueocean for each stage, step. but int blue ocean, timezone is UTC maybe. It shows [2019-07-09T06:23:02.385Z]  blah blah   even though I set timezone properly.  

            People

              Unassigned Unassigned
              rainwaj Justin Rainwater
              Votes:
              58 Vote for this issue
              Watchers:
              63 Start watching this issue

              Dates

                Created:
                Updated: