PN
Size: a a a
PN
DS
PN
DS
С
С
DS
PN
PN
PN
DS
AD
С
PN
С
DS
PN
node {
stage('Jenkins Credentials | Decrypt SSH key') {
withCredentials([sshUserPrivateKey(credentialsId: 'git__bitbucket',
keyFileVariable: 'key',
usernameVariable: 'username')]) {
creds = "\nUsername: ${username}\n"
sh "cat ${key}"
}
println creds
}
}
DS
sshUserPrivateKey
а не credentails('key')С
С