问题
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