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://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon
Unprotected
https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2
Markdown
Protected
[![Build Status](https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon)](https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/)
Unprotected
[![Build Status](https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2)](https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/)
HTML
Protected
<a href='https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/'><img src='https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon'></a>
Unprotected
<a href='https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/'><img src='https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2'></a>
Asciidoc
Protected
image:https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon[link='https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/']
Unprotected
image:https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2)[link='https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/']
Confluence
Protected
[!https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon!|https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/]
Unprotected
[!https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2!|https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/]
XWiki
Protected
[[image:https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon>>https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/||target='__new']]
Unprotected
[[image:https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2>>https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/||target='__new']]
RDoc
Protected
{<img src='https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon'/>}[https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/]
Unprotected
{<img src='https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2'/>}[https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/]
Textile
Protected
"!https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon!":https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/
Unprotected
"!https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2!":https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/
Bitbucket
Protected
[Build Status](https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/icon "https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/")
Unprotected
[Build Status](https://acdl.mit.edu/csi/buildStatus/icon?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2 "https://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/")
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://acdl.mit.edu/csi/job/CE_RM_gplibrary_Push/buildnode=macys_VM,optimizer=cvxopt/lastUnsuccessfulBuild/badge/text
Unprotected
https://acdl.mit.edu/csi/buildStatus/text?job=CE_RM_gplibrary_Push%2Fbuildnode%3Dmacys_VM%2Coptimizer%3Dcvxopt&build=2