Jenkins version: 1.572
Plugin version: 1.13
Using GitHub Enterprise: yes
If you take a look at the log output below, there is a URL segment which is repeated (/api/v3/api/v3). This is causing the plugin to fail since that URL is not valid.
I have double-checked my config section, and I do have the URL properly defined (with this value: https://github.intenral.sw.com/api/v3/api/).
Created Pull Request #4 on morficus/test-repo by <morficus> updated at: 8/8/14 12:03 AM SHA: 86ae0b203c036829d7606745babc30fae2fe7944
Aug 08, 2014 12:07:00 AM WARNING hudson.triggers.Trigger checkTriggers
org.jenkinsci.plugins.ghprb.GhprbTrigger.run() failed for hudson.model.FreeStyleProject@2b67d3c4[github-pr-test]
java.lang.Error: java.io.FileNotFoundException: https://github.intenral.sw.com/api/v3/api/v3/repos/morficus/test-repo/pulls/4/commits
at org.kohsuke.github.Requester$1.fetch(Requester.java:304)
at org.kohsuke.github.Requester$1.hasNext(Requester.java:271)
at org.kohsuke.github.PagedIterator.fetch(PagedIterator.java:44)
at org.kohsuke.github.PagedIterator.hasNext(PagedIterator.java:32)
at org.jenkinsci.plugins.ghprb.GhprbPullRequest.tryBuild(GhprbPullRequest.java:178)
at org.jenkinsci.plugins.ghprb.GhprbPullRequest.check(GhprbPullRequest.java:114)
at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:114)
at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:95)
at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:95)
at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:132)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.io.FileNotFoundException: https://github.internal.sw.com/api/v3/api/v3/repos/morficus/test-repo/pulls/4/commits
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.kohsuke.github.Requester.parse(Requester.java:359)
at org.kohsuke.github.Requester.access$300(Requester.java:59)
at org.kohsuke.github.Requester$1.fetch(Requester.java:295)
... 20 more
Jenkins version: 1.572
Plugin version: 1.13
Using GitHub Enterprise: yes
If you take a look at the log output below, there is a URL segment which is repeated (
/api/v3/api/v3). This is causing the plugin to fail since that URL is not valid.I have double-checked my config section, and I do have the URL properly defined (with this value:
https://github.intenral.sw.com/api/v3/api/).