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

Mercurial - paths.default is set incorrectly at checkout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • mercurial-plugin
    • None
    • jenkins 2.284
      Mercurial plugin 2.14
    • 2.16

      With latest version of Mercurial plugin (2.14), the Mercurial clone configuration is not correct.

      The "paths.default" does not contains the Repo URL, but instead it contains the clone PATH on the file system followed by the Repo URL.

      For instance:
      paths.default=/var/lib/jenkins/workspace/my_job/https\:/hg.mydns.com/hg/myrepo

       

      instead of:

      paths.default=https://hg.mydns.com/hg/myrepo

       

      the problem appeared since version 2.14. After rollback to plugin 2.12, no issues.

       

      because of this, we cannot run "hg push" command as the URL is incorrect in the local repo

            jglick Jesse Glick
            nletolle Nicolas Letolle
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: