【文件属性】:
文件名称:webhook:侦听Webhook请求并触发TeamCity构建
文件大小:7KB
文件格式:ZIP
更新时间:2021-04-14 00:52:42
Shell
虚拟端口/网络挂钩
侦听Webhook请求并触发TeamCity构建。
用法
将hypoport / webhook容器作为服务运行
docker service create \
--name webhook \
-p 9000:9000 \
-e WEBHOOK_AUTH= < auth> \
-e WEBHOOK_SLACK_TOKEN= < slack> \
--update-order start-first \
hypoport/webhook:latest
遵循webhook日志
docker service logs -f webhook
手动测试Webhook(模拟Docker Hub Webhook)
curl -X POST ' http:/
【文件预览】:
webhook-master
----trigger-teamcity-build.sh(418B)
----Dockerfile(772B)
----.gitignore(14B)
----README.md(1KB)
----docker-hub()
--------example-payload.json(986B)
----teamcity_build.xml.tmpl(253B)
----pact-verify()
--------README.md(738B)
--------example-payload.json(342B)
----LICENSE(1KB)
----.dockerignore(8B)
----trigger-teamcity-build.md(2KB)
----teamcity_build.xml(275B)
----trigger-teamcity-pact-verify.sh(669B)
----hooks.json(2KB)