Thanks for environment variables rule.
We had some extra requirements to have greater control over environment variables, so we implemented some minor improvements with annotations.
Please see the use case here:
https://github.com/jenkinsci/configuration-as-code-plugin/pull/775/files
I have further improved the apply to allow for resolving absolute file paths.
https://github.com/jenkinsci/configuration-as-code-plugin/pull/780/files#diff-f538ae716745b68e2a599bd67bdd5dd4R22
If you feel like it is something that could be contributed back into environment variables rule! 💪
I would be happy to send a pull request 😄