This documentation relates to QuickBuild 8.0.x
Select here if you are using a different version

Badge for build status

You are viewing an old version (v. 1) of this page.
The latest version is v. 2, last edited on Feb 27, 2018 (view differences | )
view page history | view next version >>

QuickBuild can generate a badge image for build status, report stats, so you can add the badge image to markdown, or anywhere you want.

URL syntax

The badge url can be located at:

http://your-server/rest/badge/build/{buildIdOrName}/{type}.svg

buildIdOrName

buildIdOrName is a build id or a name, the name is in the following format:

{configurationId}.{buildName}

buildName can be one of the following value:

  • latest
  • latest_successful
  • latest_failed
  • latest_timeout
  • latest_cancelled

h3 type
type can be one of the following value:

  • status build status
  • boost Boost test report
  • bullseye Bullseye report
  • busted Busted report
  • checkstyle CheckStyle report
  • clover Clover report
  • cobertura Cobertura report
  • codenarc Codenarc report
  • coverity Coverity report
  • cpd CPD report
  • cppcheck CPPCheck report
  • emma EMMA report
  • findbugs FindBugs report
  • fxcop Fxcop report
  • Jacoco Jacoco report
  • junit JUnit report
  • mbunit MBUnit report
  • mstest MSTest report
  • ncover NCover report
  • pmd PMD report
  • tap TAP report
  • testng TestNG report
  • valgrind Valgrind report

Example

Below is an example that shows how to add a badge to GitHub README in markdown:

[![Build status](http://demo.pmease.com/rest/badge/build/25.latest/status.svg)](http://demo.pmease.com)

See it in action in below url:

https://github.com/steveluo/qb

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.