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
http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon
Unprotected
http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102
Markdown
Protected
[![Build Status](http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon)](http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/)
Unprotected
[![Build Status](http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102)](http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/)
HTML
Protected
<a href='http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/'><img src='http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon'></a>
Unprotected
<a href='http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/'><img src='http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102'></a>
Asciidoc
Protected
image:http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon[link='http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/']
Unprotected
image:http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102)[link='http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/']
Confluence
Protected
[!http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon!|http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/]
Unprotected
[!http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102!|http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/]
XWiki
Protected
[[image:http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon>>http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/||target='__new']]
Unprotected
[[image:http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102>>http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/||target='__new']]
RDoc
Protected
{<img src='http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon'/>}[http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/]
Unprotected
{<img src='http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102'/>}[http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/]
Textile
Protected
"!http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon!":http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/
Unprotected
"!http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102!":http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/
Bitbucket
Protected
[Build Status](http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/icon "http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/")
Unprotected
[Build Status](http://dev.digital-humanities.de/ci/buildStatus/icon?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102 "http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/")
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
http://dev.digital-humanities.de/ci/view/All/job/lab-dependencies/102/info.textgrid$tgrep-core-feature/badge/text
Unprotected
http://dev.digital-humanities.de/ci/buildStatus/text?job=lab-dependencies%2Finfo.textgrid%3Atgrep-core-feature&build=102