[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title lucamilanesio updated JENKINS-50930 Jenkins / JENKINS-50930 Multibranch fails if gerrit lives at a subdirectory Change By: lucamilanesio Status: Fixed but Unreleased Closed Released As: gerrit-code-review-0.2 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title lucamilanesio updated JENKINS-50930 Jenkins / JENKINS-50930 Multibranch fails if gerrit lives at a subdirectory Change By: lucamilanesio Status: Open Fixed but Unreleased Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title Auke Schrijnen commented on JENKINS-50930 Re: Multibranch fails if gerrit lives at a subdirectory I have created a pull request which fixes this issue: https://github.com/jenkinsci/gerrit-code-review-plugin/pull/8 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title Will Saxon updated an issue Jenkins / JENKINS-50930 Multibranch fails if gerrit lives at a subdirectory Change By: Will Saxon I enabled the http scheme this evening and tried to set up a multibranch job. I put in the clone URL - http://gerrit/gerrit/a/repo - and received the following error:{noformat}ERROR: [Sun Apr 22 23:25:24 EDT 2018] Could not fetch branches from source bc69d1d2-f5e2-4030-a2d4-a322692fddafcom.urswolfer.gerrit.client.rest.http.HttpStatusException: Request not successful. Message: Not Found. Status-Code: 404. Content: 404 Not FoundNot FoundThe requested URL /a/changes/ was not found on this server.Apache/2.4.18 (Ubuntu) Server at gerrit Port 80. at com.urswolfer.gerrit.client.rest.http.GerritRestClient.throwHttpStatusException(GerritRestClient.java:467) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeError(GerritRestClient.java:454) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeClientError(GerritRestClient.java:440) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCode(GerritRestClient.java:432) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.request(GerritRestClient.java:227) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:163) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:155) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestJson(GerritRestClient.java:132) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.getRequest(GerritRestClient.java:101) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.get(ChangesRestClient.java:113) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.access$000(ChangesRestClient.java:35) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient$1.get(ChangesRestClient.java:78) at jenkins.plugins.gerrit.AbstractGerritSCMSource.getOpenChanges(AbstractGerritSCMSource.java:175) at jenkins.plugins.gerrit.AbstractGerritSCMSource.access$100(AbstractGerritSCMSource.java:59) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:124)Caused: java.io.IOException at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:156) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:98) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:82) at jenkins.plugins.gerrit.AbstractGerritSCMSource.doRetrieve(AbstractGerritSCMSource.java:497) at jenkins.plugins.gerrit.AbstractGerritSCMSource.retrieve(AbstractGerritSCMSource.java:81) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.Fo
[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title Will Saxon updated an issue Jenkins / JENKINS-50930 Multibranch fails if gerrit lives at a subdirectory Change By: Will Saxon I enabled the http scheme this evening and tried to set up a multibranch job. I put in the clone URL - http://gerrit/gerrit/a/repo - and received the following error:{noformat}ERROR: [Sun Apr 22 23:25:24 EDT 2018] Could not fetch branches from source bc69d1d2-f5e2-4030-a2d4-a322692fddafcom.urswolfer.gerrit.client.rest.http.HttpStatusException: Request not successful. Message: Not Found. Status-Code: 404. Content: 404 Not FoundNot FoundThe requested URL /a/changes/ was not found on this server.Apache/2.4.18 (Ubuntu) Server at gerrit Port 80. at com.urswolfer.gerrit.client.rest.http.GerritRestClient.throwHttpStatusException(GerritRestClient.java:467) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeError(GerritRestClient.java:454) at com . urswolfer . gerrit . snipped client.rest.http.GerritRestClient.checkStatusCodeClientError(GerritRestClient.java:440) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCode(GerritRestClient.java:432) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.request(GerritRestClient.java:227) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:163) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:155) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestJson(GerritRestClient.java:132) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.getRequest(GerritRestClient.java:101) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.get(ChangesRestClient.java:113) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.access$000(ChangesRestClient.java:35) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient$1.get(ChangesRestClient.java:78) at jenkins.plugins.gerrit.AbstractGerritSCMSource.getOpenChanges(AbstractGerritSCMSource.java:175) at jenkins.plugins.gerrit.AbstractGerritSCMSource.access$100(AbstractGerritSCMSource.java:59) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:124)Caused: java.io.IOException at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:156) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:98) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:82) at jenkins.plugins.gerrit.AbstractGerritSCMSource.doRetrieve(AbstractGerritSCMSource.java:497) at jenkins.plugins.gerrit.AbstractGerritSCMSource.retrieve(AbstractGerritSCMSource.java:81) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.
[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title Will Saxon updated an issue Jenkins / JENKINS-50930 Multibranch fails if gerrit lives at a subdirectory Change By: Will Saxon I enabled the http scheme this evening and tried to set up a multibranch job. I put in the clone URL - http://gerrit/gerrit/a/repo - and received the following error:{noformat}ERROR: [Sun Apr 22 23:25:24 EDT 2018] Could not fetch branches from source bc69d1d2-f5e2-4030-a2d4-a322692fddafcom.urswolfer.gerrit.client.rest.http.HttpStatusException: Request not successful. Message: Not Found. Status-Code: 404. Content: 404 Not FoundNot FoundThe requested URL /a/changes/ was not found on this server.Apache/2.4.18 (Ubuntu) Server at gerrit Port 80. at com.urswolfer.gerrit.client.rest.http.GerritRestClient.throwHttpStatusException(GerritRestClient.java:467) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeError(GerritRestClient.java:454) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeClientError(GerritRestClient.java:440) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCode(GerritRestClient.java:432) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.request(GerritRestClient.java:227) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:163) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestRest(GerritRestClient.java:155) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.requestJson(GerritRestClient.java:132) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.getRequest(GerritRestClient.java:101) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.get(ChangesRestClient.java:113) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient.access$000(ChangesRestClient.java:35) at com.urswolfer.gerrit.client.rest.http.changes.ChangesRestClient$1.get(ChangesRestClient.java:78) at jenkins.plugins.gerrit.AbstractGerritSCMSource.getOpenChanges(AbstractGerritSCMSource.java:175) at jenkins.plugins.gerrit.AbstractGerritSCMSource.access$100(AbstractGerritSCMSource.java:59) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:124)Caused: java.io.IOException at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.discoverBranches(AbstractGerritSCMSource.java:156) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:98) at jenkins.plugins.gerrit.AbstractGerritSCMSource$1.run(AbstractGerritSCMSource.java:82) at jenkins.plugins.gerrit.AbstractGerritSCMSource.doRetrieve(AbstractGerritSCMSource.java:497) at jenkins.plugins.gerrit.AbstractGerritSCMSource.retrieve(AbstractGerritSCMSource.java:81) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:357) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:267) at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:633) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:276) at com.cloudbees.hudson.plugins.folder.computed.
[JIRA] (JENKINS-50930) Multibranch fails if gerrit lives at a subdirectory
Title: Message Title Will Saxon created an issue Jenkins / JENKINS-50930 Multibranch fails if gerrit lives at a subdirectory Issue Type: Bug Assignee: lucamilanesio Components: gerrit-code-review-plugin Created: 2018-04-23 03:34 Environment: Apache 2.4 as reverse proxy, Gerrit lives at http://gerrit/gerrit. Gerrit 2.14.6, plugin version 0.1.1 with Jenkins 2.107.1 Priority: Major Reporter: Will Saxon I enabled the http scheme this evening and tried to set up a multibranch job. I put in the clone URL - http://gerrit/gerrit/a/repo - and received the following error: ERROR: [Sun Apr 22 23:25:24 EDT 2018] Could not fetch branches from source bc69d1d2-f5e2-4030-a2d4-a322692fddaf com.urswolfer.gerrit.client.rest.http.HttpStatusException: Request not successful. Message: Not Found. Status-Code: 404. Content: 404 Not Found Not Found The requested URL /a/changes/ was not found on this server. Apache/2.4.18 (Ubuntu) Server at gerrit Port 80 . at com.urswolfer.gerrit.client.rest.http.GerritRestClient.throwHttpStatusException(GerritRestClient.java:467) at com.urswolfer.gerrit.client.rest.http.GerritRestClient.checkStatusCodeError(GerritRestClient.java:454) at ... snipped I don't think there's currently a workaround for this other than mapping /a to /gerrit/a on my server. Am I correct?