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

Show unstable builds as yellow (small change to 2 files)

    XMLWordPrintable

Details

    Description

      Added a new css entry (.unstable) and changed getStatus() to return an unstable string. Currently the colors for unstable and claimed are identical which is probably not ideal. I'm currently working on a slightly different color scheme on my local copy (same as this but claimed is orange, and unstable is yellow). I might submit a seperate patch for this once I'm happy with it. Might be nice to make all the colors configurable, I'd be happy to give this a go.

      Addresses:
      https://issues.jenkins-ci.org/browse/JENKINS-10614
      https://issues.jenkins-ci.org/browse/JENKINS-9772

      diff taken from: plugins/radiatorview/src. Let me know if you need anything else

      Attachments

        Activity

          rborer Reynald Borer added a comment -

          I've made a similar patch myself, before discovering this one was already available. Anyway, I think this feature should really be merged, without it it's hard to make a distinction between failed builds and unstable builds.

          rborer Reynald Borer added a comment - I've made a similar patch myself, before discovering this one was already available. Anyway, I think this feature should really be merged, without it it's hard to make a distinction between failed builds and unstable builds.

          Code changed in jenkins
          User: David Resnick
          Path:
          src/main/java/hudson/model/JobViewEntry.java
          src/main/java/hudson/model/ProjectViewEntry.java
          src/main/resources/hudson/model/RadiatorView/job.jelly
          src/main/resources/hudson/model/RadiatorView/main.jelly
          http://jenkins-ci.org/commit/radiatorview-plugin/394f78e14c85cbf955ad858ffc4390427c137047
          Log:
          Show unstable builds as yellow.

          This is based on pull requests 2 & 7.

          Unstable builds both with and without failing tests appear as yellow.

          One issue with the current implementation is that builds that are unstable
          due to being marked that way (with no failing tests) aren't enlarged as
          broken jobs are.

          [FIXED JENKINS-9772]
          [FIXED JENKINS-10585]
          [FIXED JENKINS-10614]
          [FIXED JENKINS-10846]

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: David Resnick Path: src/main/java/hudson/model/JobViewEntry.java src/main/java/hudson/model/ProjectViewEntry.java src/main/resources/hudson/model/RadiatorView/job.jelly src/main/resources/hudson/model/RadiatorView/main.jelly http://jenkins-ci.org/commit/radiatorview-plugin/394f78e14c85cbf955ad858ffc4390427c137047 Log: Show unstable builds as yellow. This is based on pull requests 2 & 7. Unstable builds both with and without failing tests appear as yellow. One issue with the current implementation is that builds that are unstable due to being marked that way (with no failing tests) aren't enlarged as broken jobs are. [FIXED JENKINS-9772] [FIXED JENKINS-10585] [FIXED JENKINS-10614] [FIXED JENKINS-10846]

          People

            david_resnick David Resnick
            oliverdrake Oliver Drake
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: