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

Support console annotations and log stuff

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.3, Blue Ocean 1.4 - beta 1

      Description

      Console annotations will be used where appropriate

      Jenkins stores log output from jobs. Jenkins also provides several facilities to modify those logs, either as lines are written or as they are retrieved. For Blue Ocean, we needed to decide which of those facilities would be supported.

      Blue Ocean is likely to use this subsystem for notes such as timestamps where additional data is stored for a loglines but will not use notes that dictate the use of generated HTML.

      See Supporting Console Notes and Annotators in Blue Ocean.

      Original request
      When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 

        Attachments

          Issue Links

            Activity

            hossaiy yacoub hossain created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Summary Blue Ocean console output, only outputs plain text Support console annotations
            jamesdumay James Dumay made changes -
            Link This issue relates to JENKINS-38339 [ JENKINS-38339 ]
            Hide
            jamesdumay James Dumay added a comment -

            yacoub hossain thanks for filing! We are going to provide better support for the build step (linking to downstream jobs - see JENKINS-38339) but it will take a bit more time to support log annotations in the way you are used to them in classic.

            Show
            jamesdumay James Dumay added a comment - yacoub hossain thanks for filing! We are going to provide better support for the build step (linking to downstream jobs - see JENKINS-38339 ) but it will take a bit more time to support log annotations in the way you are used to them in classic.
            jamesdumay James Dumay made changes -
            Epic Link JENKINS-35756 [ 171764 ]
            jamesdumay James Dumay made changes -
            Description When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI.  *Notes*
            Jenkins uses the console annotator extension point to display links and other elements within the console log. This extension point is a java extension point and could be moved to a js extension.

            *Original request*
            When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            Hide
            hossaiy yacoub hossain added a comment -

            Thanks James Dumay, i will be eagerly awaiting, btw, am loving the blue ocean ui, very slick 

            Show
            hossaiy yacoub hossain added a comment - Thanks James Dumay , i will be eagerly awaiting, btw, am loving the blue ocean ui, very slick 
            Hide
            michaelneale Michael Neale added a comment -

            I would love, perhaps a small part here (not an annotator) for hyperlinks to be automatically linkable - tht could cover a lot of people's expectations I guess? 

            Show
            michaelneale Michael Neale added a comment - I would love, perhaps a small part here (not an annotator) for hyperlinks to be automatically linkable - tht could cover a lot of people's expectations I guess? 
            Hide
            jamesdumay James Dumay added a comment -
            Show
            jamesdumay James Dumay added a comment - Michael Neale doable
            jamesdumay James Dumay made changes -
            Epic Link JENKINS-35756 [ 171764 ] JENKINS-42919 [ 179928 ]
            Hide
            cedclement Cédric Clement added a comment -

            Hello, I would love to see hyperlinks become actual links too!

            Show
            cedclement Cédric Clement added a comment - Hello, I would love to see hyperlinks become actual links too!
            Hide
            teilo James Nord added a comment -

            Michael Neale we need more than just hyperlinks.

             

            when using the "build" step you get a message about the build that was started, in classic this is a link that takes you direct to that build - in BO you have to click click click click...

             

            Show
            teilo James Nord added a comment - Michael Neale we need more than just hyperlinks.   when using the "build" step you get a message about the build that was started, in classic this is a link that takes you direct to that build - in BO you have to click click click click...  
            teilo James Nord made changes -
            Link This issue relates to JENKINS-35816 [ JENKINS-35816 ]
            teilo James Nord made changes -
            Link This issue relates to JENKINS-46324 [ JENKINS-46324 ]
            Hide
            michaelneale Michael Neale added a comment -

            James Nord links to triggered bulds I think has a ticket specific for that as that is a core bit of functionality, but yeah... 

            Show
            michaelneale Michael Neale added a comment - James Nord links to triggered bulds I think has a ticket specific for that as that is a core bit of functionality, but yeah... 
            michaelneale Michael Neale made changes -
            Sprint Blue Ocean 1.4 [ 311 ]
            michaelneale Michael Neale made changes -
            Description *Notes*
            Jenkins uses the console annotator extension point to display links and other elements within the console log. This extension point is a java extension point and could be moved to a js extension.

            *Original request*
            When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            *Note: some design invistigation needed to narrow the scope. Blue ocean now has ANSI colour, linked to triggered jobs and artifacts could well be covered by other specific tickets. This could remain to be an extension point to allow widgets/components in the log.* 

            *--- original ---*

            *Notes*
             Jenkins uses the console annotator extension point to display links and other elements within the console log. This extension point is a java extension point and could be moved to a js extension.

            *Original request*
             When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            michaelneale Michael Neale made changes -
            Sprint Blue Ocean 1.4 [ 311 ] Blue Ocean 1.3 - beta 1 [ 386 ]
            michaelneale Michael Neale made changes -
            Assignee Josh McDonald [ sophistifunk ]
            michaelneale Michael Neale made changes -
            Summary Support console annotations Support console annotations and log stuff
            teilo James Nord made changes -
            Link This issue relates to JENKINS-45108 [ JENKINS-45108 ]
            Hide
            teilo James Nord added a comment -

            missing timestamper output is undoubtidly another symptom. logs without timestamps

            Show
            teilo James Nord added a comment - missing timestamper output is undoubtidly another symptom. logs without timestamps
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.3 [ 386 ] Blue Ocean 1.3, Blue Ocean 1.4 - beta 1 [ 386, 401 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Assignee Josh McDonald [ sophistifunk ] James Dumay [ jamesdumay ]
            jamesdumay James Dumay made changes -
            Description *Note: some design invistigation needed to narrow the scope. Blue ocean now has ANSI colour, linked to triggered jobs and artifacts could well be covered by other specific tickets. This could remain to be an extension point to allow widgets/components in the log.* 

            *--- original ---*

            *Notes*
             Jenkins uses the console annotator extension point to display links and other elements within the console log. This extension point is a java extension point and could be moved to a js extension.

            *Original request*
             When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            {panel:title=Console annotations will be used where appropriate|titleBGColor=darkgrey|titleColor=white}
            Jenkins stores log output from jobs. Jenkins also provides several facilities to modify those logs, either as lines are written or as they are retrieved. For Blue Ocean, we needed to decide which of those facilities would be supported.

            Blue Ocean is likely to use this subsystem for notes such as timestamps where additional data is stored for a loglines but will not use notes that dictate the use of generated HTML.

            See [Supporting Console Notes and Annotators in Blue Ocean|https://docs.google.com/document/d/1wIBYfU734c4CU45l_EZMwKAqoVeQL3SsbzQhESoYWI4/edit?usp=sharing]
            {panel}

            *Original request*
             When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            jamesdumay James Dumay made changes -
            Description {panel:title=Console annotations will be used where appropriate|titleBGColor=darkgrey|titleColor=white}
            Jenkins stores log output from jobs. Jenkins also provides several facilities to modify those logs, either as lines are written or as they are retrieved. For Blue Ocean, we needed to decide which of those facilities would be supported.

            Blue Ocean is likely to use this subsystem for notes such as timestamps where additional data is stored for a loglines but will not use notes that dictate the use of generated HTML.

            See [Supporting Console Notes and Annotators in Blue Ocean|https://docs.google.com/document/d/1wIBYfU734c4CU45l_EZMwKAqoVeQL3SsbzQhESoYWI4/edit?usp=sharing]
            {panel}

            *Original request*
             When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            {panel:title=Console annotations will be used where appropriate|titleBGColor=darkgrey|titleColor=white}
            Jenkins stores log output from jobs. Jenkins also provides several facilities to modify those logs, either as lines are written or as they are retrieved. For Blue Ocean, we needed to decide which of those facilities would be supported.

            Blue Ocean is likely to use this subsystem for notes such as timestamps where additional data is stored for a loglines but will not use notes that dictate the use of generated HTML.

            See [Supporting Console Notes and Annotators in Blue Ocean|https://docs.google.com/document/d/1wIBYfU734c4CU45l_EZMwKAqoVeQL3SsbzQhESoYWI4/edit?usp=sharing].
            {panel}

            *Original request*
             When using Blue Ocean UI, the console output is just plain text, wheras the classic UI had the option of plain text but by default showed a smarter console output that would, for instance, contain clickable url links to downstream jobs, or archived artifacts. That would be a very cool thing to have again in the Blue Ocean UI. 
            Hide
            jamesdumay James Dumay added a comment -

            Hi all,

            Jenkins stores log output from jobs. Jenkins also provides several facilities to modify those logs, either as lines are written or as they are retrieved. For Blue Ocean, we needed to decide which of those facilities would be supported.

            Blue Ocean is likely to use this subsystem for notes such as timestamps where additional data is stored for a log lines but will not use notes that dictate the use of generated HTML.

            For more information, see Supporting Console Notes and Annotators in Blue Ocean.

            Thanks,
            James

            Show
            jamesdumay James Dumay added a comment - Hi all, Jenkins stores log output from jobs. Jenkins also provides several facilities to modify those logs, either as lines are written or as they are retrieved. For Blue Ocean, we needed to decide which of those facilities would be supported. Blue Ocean is likely to use this subsystem for notes such as timestamps where additional data is stored for a log lines but will not use notes that dictate the use of generated HTML. For more information, see Supporting Console Notes and Annotators in Blue Ocean . Thanks, James
            jamesdumay James Dumay made changes -
            Resolution Incomplete [ 4 ]
            Status Open [ 1 ] Resolved [ 5 ]
            Hide
            michaelneale Michael Neale added a comment -

            yes we need a specific ticket for timestamp support (links is already in there in some fashion, or as a ticket/roadmap item). 

            The design of annotators is just so terrible... really I don't know how it happened. 

            Show
            michaelneale Michael Neale added a comment - yes we need a specific ticket for timestamp support (links is already in there in some fashion, or as a ticket/roadmap item).  The design of annotators is just so terrible... really I don't know how it happened. 
            jamesdumay James Dumay made changes -
            Link This issue relates to JENKINS-46324 [ JENKINS-46324 ]
            Hide
            jglick Jesse Glick added a comment -

            links to triggered bulds I think has a ticket specific for that as that is a core bit of functionality

            Depends on your PoV whether this is a “core” bit of functionality. Certainly the fact that such a link is printed, and when, is not core; it is implemented here in a plugin. Now you could generically support any HyperlinkNote based on its serial form, and get automatic support for a broad array of simple links. But certainly it is not maintainable for Blue Ocean code to apply every kind of text markup to arbitrary plugin output.

            Show
            jglick Jesse Glick added a comment - links to triggered bulds I think has a ticket specific for that as that is a core bit of functionality Depends on your PoV whether this is a “core” bit of functionality. Certainly the fact that such a link is printed, and when, is not core; it is implemented here  in a plugin. Now you could generically support any HyperlinkNote based on its serial form, and get automatic support for a broad array of simple links. But certainly it is not maintainable for Blue Ocean code to apply every kind of text markup to arbitrary plugin output.
            kshultz Karl Shultz made changes -
            Labels testing-notes-not-applicable

              People

              Assignee:
              jamesdumay James Dumay
              Reporter:
              hossaiy yacoub hossain
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: