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

Credentials missing after upgrade if Configure Credential Providers » Types set to “Only selected”

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • credentials-plugin
    • Jenkins 2.321, Credentials Plugin 2.6.2
    • 1055.v1346ba467ba1

      After updating to the newest version 2.6.2, our SSH credentials stopped working in jobs.

      We use them:

      • For the SSH Agent, which now fails with this exception:
      FATAL: [ssh-agent] Could not find specified credentials
      java.io.IOException: [ssh-agent] Could not find specified credentials
      	at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.preCheckout(SSHAgentBuildWrapper.java:209)
      • To connect to our SCM via Git plugin, which only logs a warning, but still works:
      Warning: CredentialId "a151f039-3970-4572-95d0-f24def5e9896" could not be found.

      In the dropdown menu of both plugins, no credential is selectable. We also have "Secret text" and "username and password" types in the global domain, so the problem seems to not only be limited to SSH.

      These behaviours could be fixed by reverting the plugin to version 2.6.1.

            jglick Jesse Glick
            stifm Sven
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: