Sloth CI的状态生成屏蔽由http://shields.io提供

sloth-ci.ext.shields_io的Python项目详细描述


Sloth CI应用程序的状态生成徽章,由http://shields.io.



代码块::bash

$pip安装sloth ci.ext.shields在服务器配置中启用扩展:

…代码块::yaml
:标题:sloth.yml用于屏蔽。io

您可以使用`{app}`和`{timestamp}`占位符作为app name和build timestamp的占位符。
label:“{app}的我的sloth ci状态”默认为``sloth ci:{app}`

徽章状态。你可以使用``{status}```````````{app}`````````````````{app}``````````{app}````````````````````````````{app}````````````````````````````` app}````````````````````````````````````````````````````````````````````````是的``平面``

徽章格式:SVG、PNG、JPG,或gif格式:png;默认值为svg

#默认为“red”`



所有参数都是可选的。

使用url http://host:port/app?action=shield获取徽章。

您可以通过传递“label”、“style”和“format”查询参数动态定制徽章:

-http://host:port/app?action=shield&;label=build%20 for%20{app}
-http://host:port/app?action=shield&style=social
-http://host:port/app?action=shield&format=png

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
来自Oozie Java Jobs的电子邮件   泛型Java映射。具有有界通配符的getOrDefault   java如何制作定制的Swing容器?   java断言使用正则表达式重新启动响应体   安卓 java正则表达式查找字符串中的所有空格   java循环语法不起作用   使用spring4@Transactional时,java事务不起作用   java三桨乒乓球命中检测   java Camera 2 Api错误不拍照的错误   java使用ServletContext从war外部读取Hibernate属性   性能如何禁用Java垃圾回收器?   如何通过MySQL触发器执行外部java函数?   使用Ecfbittorent下载torrent时出现java NegativeArraySizeException   java Android arraylist因迭代而崩溃   MyBatis中的java Delete查询没有删除任何内容