Skip to content

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:

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

See examples below!

Configuration

Please read the documentation to configure and customize your badge.

Examples

(Hover badge to see custom configuration)

flat


flat-square


plastic


ball-size


Links

Plain link

Protected
https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon

Unprotected
https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87

Markdown

Protected
[![Build Status](https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon)](https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/)

Unprotected
[![Build Status](https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87)](https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/)

HTML

Protected
<a href='https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/'><img src='https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon'></a>

Unprotected
<a href='https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/'><img src='https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87'></a>

Asciidoc

Protected
image:https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon[link='https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/']

Unprotected
image:https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87)[link='https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/']

Confluence

Protected
[!https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon!|https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/]

Unprotected
[!https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87!|https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/]

XWiki

Protected
[[image:https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon>>https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/||target='__new']]

Unprotected
[[image:https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87>>https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/||target='__new']]

RDoc

Protected
{<img src='https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon'/>}[https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/]

Unprotected
{<img src='https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87'/>}[https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/]

Textile

Protected
"!https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon!":https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/

Unprotected
"!https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87!":https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/

Bitbucket

Protected
[Build Status](https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/icon "https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/")

Unprotected
[Build Status](https://dev.me1312.net/jenkins/buildStatus/icon?job=GalaxiEngine&build=87 "https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/")

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.

Text Only

Protected
https://src.me1312.net/jenkins/user/me1312/my-views/view/all/job/GalaxiEngine/87/badge/text

Unprotected
https://dev.me1312.net/jenkins/buildStatus/text?job=GalaxiEngine&build=87