Java Reference
In-Depth Information
Figure 1-15. Jenkins: After a new job is added
Should a job fail to build, you get a red ball instead of a green one. Actually, success shows a
blue ball by default, but most people here prefer green for success, so the optional “Green
Ball” plug-in is usually one of the first to be added to a new installation.
Beside the red or green ball, you will see a “weather report” ranging from sunny (the last
several builds have succeeded), cloudy, rainy, or stormy (no recent builds have succeeded).
Click the link to the project that failed, and then the link to Console Output, and figure out
what went wrong. The usual workflow is then to make changes to the project, commit/push
them to the source code repository, and run the Jenkins build again.
As mentioned, there are hundreds of optional plug-ins for Jenkins. To make your life easier,
almost all of them can be installed by clicking the Manage Jenkins link and then going to
Manage Plug-ins. The Available tab lists all the ones that are available from Jenkins.org; you
just need to click the checkbox beside the ones you want, and click Apply. You can also find
updates here. If your plug-in addtion or upgrade requires a restart, you'll see a yellow ball
and words to that effect; otherwise you should see a green (or blue) ball indicating plug-in
success. You can also see the list of plug-ins directly on the Web .
I mentioned that Jenkins began life under the name Hudson. The Hudson project still exists,
and is hosted at the Eclipse website. Last I checked, both projects had maintained plug-in
compatibility, so many or most plug-ins from one can be used with the other. In fact, the
most popular plug-ins appear in the Available tab of both, and most of what's said in this re-
Search WWH ::




Custom Search