-
Bug
-
Resolution: Won't Fix
-
Minor
-
Xubuntu 12.04 precise, Java 1.6.0_24, hg 2.0.2, Jenkins 1.493, Jenkins Mercurial Plugin 1.42
Hi,
I am observing that the Jenkins Mercurial plugin always performs a full clone instead of a pull when I start a build.
There were reports that this happens when the debug option is on for the mercurial plugin, but this is supposed to be fixed and this option isn't even on.
I posted a log below and attached screenshots of the relevant options.
Started by user Matthias Kauer
Building in workspace /var/lib/jenkins/jobs/pyunittest/workspace
[workspace] $ hg showconfig paths.default
ERROR: Workspace reports paths.default as https://matthias_tumcreate@bitbucket.org/matthias_tumcreate/pyunittest
which looks different than https://matthias_tumcreate:xxxx@bitbucket.org/matthias_tumcreate/pyunittest
so falling back to fresh clone rather than incremental update
$ hg clone --rev default --noupdate https://matthias_tumcreate:xxxx@bitbucket.org/matthias_tumcreate/pyunittest /var/lib/jenkins/jobs/pyunittest/workspace
adding changesets
adding manifests
adding file changes
added 1 changesets with 4 changes to 4 files
[workspace] $ hg update --rev default
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
- is duplicated by
-
JENKINS-15958 hg password not set correctly when contained in the url
-
- Resolved
-
- is related to
-
JENKINS-7351 Secure repository authentication
-
- Resolved
-
Duplicate of another issue, will look it up later. If you specify your HTTP(S) password in the URL the .hg/hgrc file in the workspace will omit the password and so a simple hg pull would not work (the plugin would need to append the original URL to the command line). The workaround is to either use another connection method such as SSH; or install the Mercurial plugin to remember HTTPS passwords using some manner of local keystore.