extra '/' getting added in the generated url for finding files in a given commit

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi Rebert Sandell,

      We are using gerrit (V2.10-rc0) as code review system and jenkins as build system. Trying to enable continuous integration for one of our projects.

      Able to poll commits and query commits in gerrit from jenkins machine itself but facing blocker issue with the URL getting generated in CI job for finding files which are modified in a commit.

      sample generated URL provided below

      /http://<jenkins URL>//a/changes/Id6d6768940833dbe046ba0bf484021f0955/revisions/93e67a23abd1877905dff2b8ee1f5f85c23/files/

      exact issue is getting <url>//a/changes instead of <url>/a/changes

      and failing with error
      Request 1: GET to /http://gerrit.gainsight.com:8080//a/changes/Id6d6768940833dbe045e6496ba0bf484021f0955/revisions/93e67afeabb23abd1877905dff2b8ee1f5f85c23/files/
      pl.touk.sonar.GerritPluginException: Error listing files

      Can you please help me in resolving this issue..

            Assignee:
            rsandell
            Reporter:
            Anjan Kumar
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: