HiveBrain v1.2.0
Get Started
← Back to all entries
snippetModerate

How to publish Jenkins job icons externally?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
publishiconsjenkinshowjobexternally

Problem

I'm using Promoted Builds Plugin to assign certain icons to Jenkins jobs on certain conditions and I'd like to publish these promotion icons.

How can I generate external links to these icons per each job, so they're accessible externally?

—————

For example I'd like to create the table in README.md on GitHub like:

Job 1 | ![](link_to_icon_of_job_1)
Job 2 | ![](link_to_icon_of_job_2)
Job 3 | ![](link_to_icon_of_job_3)

Solution

The "Embeddable Build Status Plugin" will do exactly that.

Note: This requires your Jenkins server to be accessible from the internet if you're using GitHub because they cache all images in their CDN.

Context

StackExchange DevOps Q#43, answer score: 11

Revisions (0)

No revisions yet.