GHPRB plugin in Jenkins unable to trigger build

拈花ヽ惹草 提交于 2019-12-02 22:07:27

问题


I'm using GitHub Pull request builder plugin (version 1.42.0) to trigger my PRs. It was working fine for a while and it suddenly stopped working. I checked the Jenkins logs and I found this error:

Nov 20, 2019 3:29:00 PM WARNING hudson.triggers.Trigger checkTriggers
org.jenkinsci.plugins.ghprb.GhprbTrigger.run() failed for hudson.model.FreeStyleProject@7d1c3713[test-job]
java.lang.StackOverflowError
    at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1042)
    at java.base/java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1041)
    at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1042)
    at java.base/java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1041)
    at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1042)
    at java.base/java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1041)
    at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1042)
    at java.base/java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1041)
    at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1042)

I did a few things like re-saving the job again, checking my global credentials etc but everything looked fine compare to what people have discussed in the forum but nothing worked. I re-installed the plugin and it started working. Next day, again the plugin stopped triggering the builds with same error. I'm not sure why this is happening? Does anyone has a fix for this? is there any good alternative of this plugin? I really need to know how to fix this. I'm stuck!

来源:https://stackoverflow.com/questions/58958189/ghprb-plugin-in-jenkins-unable-to-trigger-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!