generic webhook trigger 插件
通用 webhook
通过curl 请求触发流水线
root@ubuntu20:~/luohuiwen/spring-boot-helloWorld# openssl rand -base64 32
QNJv+WjUiNvNhQ4bKleI/5h2iZ+TKjSMREAvSJRvcM0=
curl -X POST -H "Content-Type: application/json" -d '{ "ref": "refs/heads/main" }' -vs http://192.168.1.51:8080/generic-webhook?trigger/invoke?token="QNJv+WjUiNvNhQ4bKleI/5h2iZ+TKjSMREAvSJRvcM0"
添加webhook
http://192.168.1.51:8080/generic-webhook-trigger/invoke
secert token 填写
QNJv+WjUiNvNhQ4bKleI65h2iZ+TKjSMREAvSJRvcM0
推送事件