Embeddable Build Status Icon

Jenkins exposes the current status of your build as an image in a fixed URL. You can put this URL into other sites (such as GitHub README) so that people can see the current state of the build. For each variant there are two URLs available for inclusion:

protected exposes the badge to users having at least Read permission on the job

unprotected exposes the badge to users having at least ViewStatus permission on the job

If you want the status icons to be public readable/accessible, just grant the ViewStatus permission globally to anonymous.

Note

If you are using Multibranch Pipelines the branch within the job path or name needs to be URL encoded twice.

Example:?job=path/to/job/branch/path would become?job=path%2Fto%2Fjob%2Fbranch%252Fpath

Examples

flat

flat-square:

plastic:

ball-<size>:

Links

Plain Link

Markdown

HTML

protectedunprotected

Confluence

protectedunprotected

XWiki

protectedunprotected

RDoc

protectedunprotected

Textile

protectedunprotected

Bitbucket

protectedunprotected

Embeddable Build Status Text

Jenkins also exposes the current status of your build in plain text. You can use this in external scripts for easier interpretation of the current state of the build. Similar to the badge there are both protected, as well as unprotected variants.