Issue Type: Bug Bug
Affects Versions: current
Assignee: Jesse Glick
Attachments: Environment Config.jpg, Environment Config2.jpg, Parameter Config.jpg, SCM Config.jpg
Components: mercurial
Created: 12/Feb/13 10:33 PM
Description:

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.

Log:
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.

Environment: Windows 2008 R2 SP1
Project: Jenkins
Labels: mercurial parameter parameterized url scm
Priority: Minor Minor
Reporter: Kevin Binswanger
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to