forked from recampbell/unique-id-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-28913] write the id to the correct file.
When sotring the ID write it to the correct file. Add unit tests to check the uniqueness of the ID to catch regresssions. Add some code to migrate an empty id. (this will only happen for new jobs/builds created with 2.0 or 2.0.1 of the plugin.) Migrations will be ok.
- Loading branch information
Showing
2 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters