I got a script that currently parses the output of the API in order to
determine programmatically the status of all our builds and report on
non-stable. I first try to go with "red" but then we notice a
"red_anime", so we changed our code, now it seems like "yellow" is
another failed status. And since we are using the "green balls plugin"
we didn't want to use "blue" or "green" as that will probably change.
So I ask where is the full list of values this variable has? is it
only in jenkins source? Which is the best way to calculate if all jobs
are not ok from within the API?
For anyone else looking for this the source seems to be the only "docs"
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/BallColor.java
2011/4/18 Frédéric Camblor <fcam...@gmail.com>:
2011/4/18 Frédéric Camblor <fcam...@gmail.com>: