[ 
https://jira.nuxeo.org/browse/NXBT-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=78494#action_78494
 ] 

Julien Carsique commented on NXBT-190:
--------------------------------------

Tips from Hudson mailing list:
How about using custom weather icons?

If you set the build health reported from your plugin to 0% and you define an 
icon [this was in there from the begining of build health] then your icon will 
win and will replace the standard weather report icons in that column

-Stephen

P.S.

The history is that Peter Reilly wanted to be able to have different icons 
depending on the level of code coverage.... So I wrote the icons to be 
customizablem, but we never got around to implementing custom icons for the 
code coverage (Peter was planning on generating a mini-coverage graph on the 
fly IIRC), and so nobody has noticed that the icons have always been 
customizable, and nobody has bothered customizing them because there is no code 
to copy and paste!

the diff is to just instantiate a
  new HealthReport(int score, String iconUrl, Localizable description)
instead of a
  new HealthReport(int score, String description)

and presto-chango, custom icons

the icon path specified should be for the 32x32 size, and the patch should 
include /32x32/ and you need to have the other size icons at similar paths with 
the /32x32/ bit changed to reflect the other sizes

> Create a Hudson plugin parsing a build to identify environmental issues
> -----------------------------------------------------------------------
>
>                 Key: NXBT-190
>                 URL: https://jira.nuxeo.org/browse/NXBT-190
>             Project: Nuxeo ECM Build/Test Environment
>          Issue Type: Task
>          Components: Continuous integration
>            Reporter: Julien Carsique
>            Assignee: Julien Carsique
>
> Set up rules to match environmental issues (console log, server log, shell 
> script, ...).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to