on: push
),本质上都是在监听 Git 提交事件,并执行 Apifox 的测试命令。
apifox run
命令,运行 Apifox 自动化测试Generic Webhook Trigger
。此时 Webhook URL 即 http://<你的 Jenkins 服务地址>/generic-webhook-trigger/invoke
。http://<你的 Jenkins 服务地址>/generic-webhook-trigger/invoke?token=<xxxxxx>
:http://<你的 Jenkins 服务地址>/generic-webhook-trigger/invoke?token=<xxxxxx>
application/json
Just the push event
或其他触发事件