Template:CirrusCIStatus: Difference between revisions
(Initial version) |
(button link doesn't include branch) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
==Usage== | ==Usage== | ||
This template can be used to embed a build status button for [[Testing/CI/ | This template can be used to embed a build status button for [[Testing/CI/CirrusCI]] with an link: | ||
<pre> | <pre> | ||
Line 21: | 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}}}.svg [https://cirrus-ci.com/github/{{{user|qemu}}}/{{{repo|qemu}}}/{{{branch|master}}}] |
Latest revision as of 11:05, 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.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: