The source code:
- I just save the script in the userContent folder of Hudson and source it in the description of the view like this:
- First, I attach the initialization with the help of the YAHOO.util.Event.onDOMReady to the point in time when the whole page is rendered, on my first tries I only collected the links already rendered up to the point where the script was included.
- If any job build links are found (isBuildHref), I render a Build All link.
- When hitting the link, I just iterate over the links (buildAll) and send an asyncRequest discarding the result by not specifying a callback function at all to trigger the actual builds.