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
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://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon
Unprotected
https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21
Markdown
Protected
[![Build Status](https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon)](https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge)
Unprotected
[![Build Status](https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21)](https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge)
HTML
Protected
<a href='https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge'><img src='https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon'></a>
Unprotected
<a href='https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge'><img src='https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21'></a>
Asciidoc
Protected
image:https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon[link='https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge']
Unprotected
image:https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21)[link='https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge']
Confluence
Protected
[!https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon!|https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge]
Unprotected
[!https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21!|https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge]
XWiki
Protected
[[image:https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon>>https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge||target='__new']]
Unprotected
[[image:https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21>>https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge||target='__new']]
RDoc
Protected
{<img src='https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon'/>}[https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge]
Unprotected
{<img src='https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21'/>}[https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge]
Textile
Protected
"!https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon!":https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge
Unprotected
"!https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21!":https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge
Bitbucket
Protected
[Build Status](https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/icon "https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge")
Unprotected
[Build Status](https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&build=21 "https://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badge")
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://update.sineware.ca/ci/user/seshan10/my-views/view/all/job/plasma-mobile-nightly-images/21/badgebadge/text
Unprotected
https://update.sineware.ca/ci/buildStatus/text?job=plasma-mobile-nightly-images&build=21