jenkinsci / jenkinsci/credentials-plugin

[JENKINS-56362] When the Jenkins server is restarted, any DEFAULT password parameters set in jobs are getting clobbered.

Open
#825 0 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue priority:critical resolution:unresolved
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.


  • status: Open
  • priority: Critical
  • component(s): credentials-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-08

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.