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

Mercurial doesn't use credentials in multibranch pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • mercurial-plugin
    • 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
      
      

            jglick Jesse Glick
            argus_k Dmytro Kozlovskyi
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: