Jenkinsfile access aws credentials
问题 I am trying to access AWS credentials stored in Jenkins with following in jenkins pipeline ( Jenkinsfile ) steps { withCredentials([usernamePassword(credentialsId: 'eb1092d1-0f06-4bf9-93c7-32e5f7b9ef76', accessKeyVariable: 'AWS_ACCESS_KEY_ID', secretKeyVariable: 'AWS_SECRET_ACCESS_KEY')]) { sh 'echo $AWS_ACCESS_KEY_ID' sh 'echo $AWS_SECRET_ACCESS_KEY' } } Its erroring with org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: Could not find credentials entry with ID