目录

Build Status #canibump

The helper app that tells developers if it’s all clear to push to CAPI’s pipeline.

API

Yes

Path: /yes
Method: PUT
Parameters:

  • token: The shared secret token of the target server
  • buildnumber: The build number that is responsible for the update. A build number of zero implies a manual update of the status.

Example:

curl -X PUT "HOST/yes" -d "token=SECRET_TOKEN" -d "buildnumber=BUILD_NUMBER"

No

Path: /no
Method: PUT
Parameters:

  • token: The shared secret token of the target server
  • buildnumber: The build number that is responsible for the update. A build number of zero implies a manual update of the status.
  • reason: A string explaining why the build is red

Example:

curl -X PUT "HOST/no" -d "token=SECRET_TOKEN" -d "buildnumber=BUILD_NUMBER" -d "reason=REASON"
关于
63.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号