jenkinsci / jenkinsci/credentials-plugin
[JENKINS-56362] When the Jenkins server is restarted, any DEFAULT password parameters set in jobs are getting clobbered.
- Dominant language
- Java
- Stars
- 134
- Forks
- 258
- Avg merge
- 48m
- Merged PRs (30d)
- 1
Description
All of our jobs that require a password in the job execution (i.e. a codesign keychain password) we set it as a Default Password Parameter in the job config. Recently after a Jenkins update 2.150.1 to 2.150.3 the passwords appear to be getting overwritten by what appears to be an encoded string instead. For example, I print the parameter in a shell in the job config. It's supposed to be a clear text password, but instead, it's something like this:
echo '{AQAAABAAAAAQu+DPUyCuv/3iI87yPZNs+tar+8vNJqHDr+uTQrlE8if=}
I have a question, is the $JENKINS_HOME/secrets folder involved?
---
Originally reported by
mikelupo, imported from: When the Jenkins server is restarted, any DEFAULT password parameters set in jobs are getting clobbered.
Raw content of original issue
All of our jobs that require a password in the job execution (i.e. a codesign keychain password) we set it as a Default Password Parameter in the job config. Recently after a Jenkins update 2.150.1 to 2.150.3 the passwords appear to be getting overwritten by what appears to be an encoded string instead. For example, I print the parameter in a shell in the job config. It's supposed to be a clear text password, but instead, it's something like this:
echo '{AQAAABAAAAAQu+DPUyCuv/3iI87yPZNs+tar+8vNJqHDr+uTQrlE8if=}
I have a question, is the $JENKINS_HOME/secrets folder involved?
environment
```
Jenkins 2.150.3
Credentials Plugin 2.1.18
```
Contributor guide
Assessment
This issue has not been assessed yet.