GroovyJenkins
GroovyJenkins copied to clipboard
Add in links to Groovy-triggered jobs
There is a fairly simple way to decorate the Jenkins job log with an active link to a just-triggered job.
ProvisionBuilder gets the link for free as it uses the normal routine of triggering builds as a post-build action. RetireBuilders for instance doesn't, as it pulls up DestroyDropletAgent via Groovy method. There may be a different way to instead trigger jobs normally but with a condition in place.