credentials:
system:
domainCredentials:
- credentials:
- basicSSHUserPrivateKey:
scope: GLOBAL
id: "bitbucket-key"
username: "git"
passphrase: "" #Doable, but not recommended
description: "SSH Credentials for git to BitBucket"
privateKeySource:
directEntry:
privateKey: ${GITPRIVATEKEY}
and correct ssh private key in /run/secret/GITPRIVATEKEY
Actual result of 'bitbucket-key' credencial in view is
${GITPRIVATEKEY}
Expected result of 'bitbucket-key' credencial should be:
Correct ssh key
After update plugin from
to
Using jenkins.yaml that is base on demo
and correct ssh private key in
/run/secret/GITPRIVATEKEY
Actual result of 'bitbucket-key' credencial in view is${GITPRIVATEKEY}
Expected result of 'bitbucket-key' credencial should be: Correct ssh keyWorks after going back to 1.1
Plugins in use