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

Mercurial plugin cloning not resolving environment variables correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • mercurial-plugin
    • None
    • x86_64 SuSE SLES 11

      I am using an environment variable for my Kiln URL and specifying it in the mercurial section under source control. The environment variable is set and gets resolved in the shell when running the hg clone command. However, when the plugin checks if the URL matches what is already in the workspace, it checks against the configured URL before resolving the environment variable (which does not match what is in the hgrc of the workspace). This causes the job to clone every time it runs.

            jglick Jesse Glick
            nivecher Morgan Davis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: