-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IllegalStateException: Vault plugin has not been configured. #274
Comments
I have the same thing, rolled back to 3.7.0. |
FYI, while testing the plugin recently I ran into this same issue. |
FYI, I also have the same issue.
|
Hi, I've also ran into this same issue. For our use case we're trying to just do a simple checkout of a code base in the agent (example Jenkinsfile below): pipeline {
agent any
stages {
stage('Test checkout from agent') {
steps {
script {
checkout([$class: 'GitSCM', branches: [[name: '*/main']], extensions: [], userRemoteConfigs: [[credentialsId: 'git-user-password-from-vault', url: 'https://github.com/org/dummy-repo.git']]])
}
}
}
}
}
From investigations it seems that in the latest tagged version (currently Not sure if this is the new expected behaviour or whether it is an existing bug, would appreciate a fix if possible. Commit which changed this behaviour: 3958ecc |
It seems that someone has recently provided a fix to this problem in version Related pull request can be found here: #334 |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
OS: Linux - 4.18.0-305.25.1.el8_4.x86_64
Reproduction steps
checkout scm
step referencing that credentialIdExpected Results
Job should run without error.
Actual Results
Anything else?
I downgraded the plugin one version at a time until it worked.
hashicorp-vault-plugin:3.7.0
is what I landed on and my pipeline worked fine again. So it seems like there's some breaking change in the plugin after that version.The text was updated successfully, but these errors were encountered: