Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Jenkins ver. 2.121.1
Credentials binding plugin 1.16
Description
What I did:
[...] environment { CREDENTIALS = credentials("CREDENTIAL_ID") } [...] steps { sh "echo $CREDENTIALS" }
What I expected:
The value of the private key echoed in the Jenkins log. Or at least *** if the plugin hides it.
What I got:
[Pipeline] End of Pipeline
org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: No suitable binding handler could be found for type com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey. Supported types are StandardUsernamePasswordCredentials,FileCredentials,StringCredentials.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | ssh-credentials-plugin [ 17424 ] |
Component/s | pipeline-model-definition-plugin [ 21706 ] |
Assignee | Allan BURDAJEWICZ [ allan_burdajewicz ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Remote Link | This issue links to "pipeline-model-definition-plugin #321 (Web Link)" [ 22524 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |