-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: credentials-plugin
-
Labels:None
-
Similar Issues:
Jenkins ver. 2.46.2
Credentials Plugin 2.1.13
Blue Ocean 1.0.1
Steps to reproduce:
1. create a credential
2. use that credential in you projects (run builds)
3. go to "Credentials"
4. select the entry for editing and click on "update"
5. change the "description" field
6. click on "save"
Effect:
"Usage" history will be erased.
Expected:
"Usage" history should be still there - because nothing relevant has changed.
Meta item data:
Store = Jenkins
Scope = (global)
"ID", "Username" and "Password" field has not been changed.
- is duplicated by
-
JENKINS-41817 Credential usage is lost on rename
-
- Closed
-
- is related to
-
JENKINS-43263 Credentials usage tracking completely redacts secrets causing false duplicate tracking
-
- Closed
-
Code changed in jenkins
User: Stephen Connolly
Path:
src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java
http://jenkins-ci.org/commit/credentials-plugin/d2abc562900b272703a953d4c69f99629bfc84b5
Log:
[FIXED JENKINS-44171] Editing the "description" field of a global credential deletes the "usage" history.