Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
Jenkins ver. 2.60.2 / Pipeline 2.5 / Pipeline: Multibranch 2.16 / Mercurial plugin 2.0
Description
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
Attachments
Issue Links
- 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
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/hudson/plugins/mercurial/HgExe.java
src/main/java/hudson/plugins/mercurial/MercurialSCMSource.java
src/test/java/hudson/plugins/mercurial/MercurialSCMSource2Test.java
http://jenkins-ci.org/commit/mercurial-plugin/df237041c8c794b6a66bf3a6535f471bafede82b
Log:
Merge pull request #111 from jglick/withCredentialsId-
JENKINS-45806JENKINS-45806withCredentialsId neededCompare: https://github.com/jenkinsci/mercurial-plugin/compare/622153cc7c5e...df237041c8c7