-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins ver. 2.60.2 / Pipeline 2.5 / Pipeline: Multibranch 2.16 / Mercurial plugin 2.0
Steps for reproducing:
- create multibranch project;
- add Mercurial as a source, select right credentials, add Mercurial Installation - Default
- Save
- Check Scan Multibranch Pipeline Log
Started by user User [Wed Jul 26 12:21:59 GMT 2017] Starting branch indexing... Acquired master cache lock. $ /usr/bin/hg clone --noupdate ssh://hg@bitbucket.org/orgname/reponame /var/jenkins_home/hgcache/BC5CF33F611210F92F733E9440B2549700FC07D6-reponame remote: Permission denied (publickey). abort: no suitable response from remote hg! ERROR: Failed to clone ssh://hg@bitbucket.org/orgname/reponame Master cache lock released. ERROR: Could not use caches, not fetching branch heads [Wed Jul 26 12:22:01 GMT 2017] Finished branch indexing. Indexing took 1.4 sec Finished: SUCCESS
- is blocking
-
JENKINS-43507 Allow SCMSource and SCMNavigator subtypes to share common traits
-
- Resolved
-
- relates to
-
JENKINS-46851 Mercurial doesn't use credentials in Modern SCM for Shared Library
-
- Resolved
-
- links to
[JENKINS-45806] Mercurial doesn't use credentials in multibranch pipeline
Component/s | Original: pipeline [ 21692 ] |
Labels | New: multibranch regression |
Link |
New:
This issue is blocking |
Remote Link | New: This issue links to "PR 108 (Web Link)" [ 17521 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: Jesse Glick [ jglick ] |
We are having this issue as well. A workaround is to create a Mercurial installation in http://example.com/configureTools/ and add a custom configuration like this:
However, this will display the password in the scan log!