Template:CirrusCIStatus: Difference between revisions
No edit summary |
(Add branch) |
||
Line 22: | Line 22: | ||
The defaults are set to track the master branch of the main repository: | The defaults are set to track the master branch of the main repository: | ||
</noinclude>https://api.cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}.svg [https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}] | </noinclude>https://api.cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/{{{branch|master}}}.svg [https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}{{{branch|master}}}]/ |
Revision as of 11:04, 20 May 2019
Usage
This template can be used to embed a build status button for Testing/CI/CirrusCI with an link:
{{CirrusCIStatus|user=stsquad|repo=qemu|branch=testing/next}}
Gives https://api.cirrus-ci.com/github/stsquad/qemu/testing/next.svg [1]/
Parameters
* user - username (usually mirrors your github id) * repo - name of your repo * branch - branch you are tracking
Defaults
The defaults are set to track the master branch of the main repository: