-
Improvement
-
Resolution: Fixed
-
Minor
Release 0.2.X+ of the plugin has added a new tag requirement in order for the plugin to know which data to pull in from AWS Secrets Manager. Existing secrets without this tag will not be pulled in. I would classify this as a breaking change and a note should be added to the README.
This can be tested by installing version 0.1.4 and only specify a tag that one can use to Filter the secret against. It will come in. If you then upgrade to 0.2.0 or higher and create a similar tag without the necessary credentials type tag, then it will appear.
Interestingly enough, this does not impact recognizing if the secret key has been deleted.
Hi Ethan, could you clarify the last sentence? Not quite sure what it means, but there might be something worth investigating in it.
You are correct that it’s a breaking change. I kept the previous auto-detection strategy going as long as I could, but unfortunately the multi-type credential object this entailed broke fundamental assumptions of important credential consumers, like the Git plugin. So it was a tough call but I had to change it. I’ll add a doc notice as you suggest.
The only in-band mechanism Jenkins currently provides to announce a breaking change is the plugin version number. However per the Semantic Versioning standard, this only really works if you are post version 1 (when you can indicate a breaking change with a major version increment). Therefore I intend to finish the last 2 or 3 minor changes I’m working on, sit on it for a while, then if all looks good release stable version 1.0.0.