[英]Jenkins freestyle project not getting triggered by github webhook
So, this is what I've done so far: 因此,这是我到目前为止所做的:
git@databases.github.com:ORG_NAME/bootcamp_databases
资料库URL: git@databases.github.com:ORG_NAME/bootcamp_databases
- none -
(I'm using local's Git config file and id_rsa private key) 凭据: - none -
(我正在使用本地的Git配置文件和id_rsa私钥) Jenkins Logs (jenkins.err) 詹金斯原木(jenkins.err)
Jul 17, 2019 10:11:31 AM org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
INFO: Received PushEvent for https://github.com/ORG_NAME/bootcamp_databases from XXX.XX.115.71 ? http://XXXXXXXX.ngrok.io:8080/github-webhook/
Project item: Freestyle 项目项目:自由泳
Jenkins Version: 2.176.1 詹金斯版本:2.176.1
I've tried these and did not help: 我尝试了这些,但没有帮助:
Actual : 实际 :
Expected : 预期 :
To actually fetch the code when pushing to GitHub and triggering the jenkins build. 在推送到GitHub并触发jenkins构建时实际获取代码。
What am I missing, all of the above points were solutions on other stackoverflow questions but so far not good. 我想念的是,以上所有观点都是其他stackoverflow问题的解决方案,但到目前为止还不好。
I think your error is here: 我认为您的错误在这里:
In Jenkins an others ci servers there are two techniques to detect scm source changes: 在Jenkins其他ci服务器中,有两种技术可以检测 scm源更改:
My advice is to try with webhooks instead scm polling. 我的建议是尝试使用Webhooks代替scm轮询。 Also polling is an outdated technique. 轮询也是一种过时的技术。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.