Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16691

Mercurial plugin cannot clone from repository on remote file system

XMLWordPrintable

      We use Mercurial for source control and have a central repository located on a server on the network that we access directly via the file system. I realize that this is not the recommended setup (ssh or https is preferred), but being on the LAN, the security concerns are not an issue.

      The problem I have is that the following command WORKS from the command line:
      hg clone \\MACHINENAME\Path\To\Repo

      ... but when I configure the Mercurial plugin to use this path, I get the following error:

      Building in workspace C:\Program Files (x86)\Jenkins\workspace\TestProject
      $ "C:\Program Files\TortoiseHG\hg.exe" --debug clone --rev default --noupdate \\MACHINENAME\Path\To\Repo "C:\Program Files (x86)\Jenkins\workspace\TestProject"
      abort: repository \\MACHINENAME\Path\To\Repo not found!
      ERROR: Failed to clone \\MACHINENAME\Path\To\Repo
      ERROR: Failed to clone \\MACHINENAME\Path\To\Repo
      Finished: FAILURE

      I have of course replaced the paths. I have tried every combination of \ and / possible. However the fact that it works from the command-line and not from the plug-in makes me think it's a bug with the plug-in.

      Is there a way to do what I'm trying to do without setting up SSH or HTTPS access to the repo?

            jglick Jesse Glick
            zkhan Zamir Khan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: