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

Building process output coloring

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • msbuild-plugin
    • None
    • Platform: All, OS: All

    Description

      When running msbuild from command line output is very informative due to applied
      text coloring. It would be great feature - colorful log.

      Attachments

        Issue Links

          Activity

            I don’t know to make this.
            Have you got observed the color feature in an other plugin?

            gbois Gregory Boissinot added a comment - I don’t know to make this. Have you got observed the color feature in an other plugin?
            aleksas aleksas added a comment -

            Sorry for late response. Missed the notifying message probably.
            No, I didn't. I haven't seen the hudson API either. I'll try to find some info.

            Similar possts
            https://hudson.dev.java.net/issues/show_bug.cgi?id=134
            https://hudson.dev.java.net/issues/show_bug.cgi?id=2137

            aleksas aleksas added a comment - Sorry for late response. Missed the notifying message probably. No, I didn't. I haven't seen the hudson API either. I'll try to find some info. Similar possts https://hudson.dev.java.net/issues/show_bug.cgi?id=134 https://hudson.dev.java.net/issues/show_bug.cgi?id=2137

            Do you want to color all MSBuild log or only some line regarding pattern?
            If you choose the last option, could you give me some examples?

            gbois Gregory Boissinot added a comment - Do you want to color all MSBuild log or only some line regarding pattern? If you choose the last option, could you give me some examples?
            aleksas aleksas added a comment - - edited

            I imagine all. Unless it will downgrade user experience in some way. Only Warnings and Errors are interesting. Coloring them would ease navigating in large amount of generated logs. Here is an article about warning/error pattern for reference.

            aleksas aleksas added a comment - - edited I imagine all. Unless it will downgrade user experience in some way. Only Warnings and Errors are interesting. Coloring them would ease navigating in large amount of generated logs. Here is an article about warning/error pattern for reference.
            alexey_larsky Alexey Larsky added a comment - - edited Maybe we can use approach of https://wiki.jenkins-ci.org/display/JENKINS/AnsiColor+Plugin ? And https://github.com/stevewillcock/grunt-msbuild/issues/9

            Output coloring is provided for error and warning messages in this pull request. I will add a screenshot as an example.

            marshall777 Lionel Cabasson added a comment - Output coloring is provided for error and warning messages in this pull request. I will add a screenshot as an example.

            Included in 1.26 release

            marshall777 Lionel Cabasson added a comment - Included in 1.26 release

            I've installed the 1.26 release, but am still not getting color in the log.

            mdkf Michael Fowler added a comment - I've installed the 1.26 release, but am still not getting color in the log.

            Could you provide the log output, à screenshot and the version of Jenkins you use please ?

            marshall777 Lionel Cabasson added a comment - Could you provide the log output, à screenshot and the version of Jenkins you use please ?

            People

              marshall777 Lionel Cabasson
              aleksas aleksas
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: