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

Paramterized Repository URL prevents incremental update


    • Similar Issues:


      I have string parameters that make up the repository URL of my Jenkins job. When the Mercurial plugin attempts to do an incremental update, it seems to evaluate the repository URL strictly, without expanding parameters, to see if it matches hg showconfig.

      16:15:57 [Parent-Branch KB_Cohort] $ hg showconfig paths.default
      16:15:58 ERROR: Workspace reports paths.default as http://fogbugz.devid.local/kiln/Code/CCC/Development/KB_Cohort
      16:15:58 which looks different than ${REMOTE_REPO_BASE_URL}${BRANCH_REPO_NAME}
      16:15:58 so falling back to fresh clone rather than incremental update
      16:15:58 $ hg clone --rev default --noupdate ${REMOTE_REPO_BASE_URL}${BRANCH_REPO_NAME} "C:\Program Files (x86)\Jenkins\workspace\Parent-Branch KB_Cohort"

      I searched the archives to try and find a duplicate, and I didn't see any. I saw some note that these parameters might not be passed to the SCM, but manually browsing the branch directory shows that the correct changesets are getting pulled in, so it can evaluate them when it does the clone.


        1. Environment Config.jpg
          Environment Config.jpg
          67 kB
        2. Environment Config2.jpg
          Environment Config2.jpg
          51 kB
        3. Parameter Config.jpg
          Parameter Config.jpg
          90 kB
        4. SCM Config.jpg
          SCM Config.jpg
          48 kB

          Issue Links


            anusien Kevin Binswanger created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-8335 [ JENKINS-8335 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-9686 [ JENKINS-9686 ]
            anusien Kevin Binswanger made changes -
            Link This issue duplicates JENKINS-9686 [ JENKINS-9686 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 147611 ] JNJira + In-Review [ 176953 ]


              • Assignee:
                jglick Jesse Glick
                anusien Kevin Binswanger
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: