oidc-provider-plugin
oidc-provider-plugin copied to clipboard
Required environment variable matching for claim precedence
- [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue
As part of #22 I have had a (very rough) go at supporting required environment variables for claims.
I have outstanding issue on tests with missing descriptor java.lang.AssertionError: class java.lang.String is missing its descriptor in public final java.util.List io.jenkins.plugins.oidc_provider.config.ClaimTemplate.requiredEnvVars. See https://www.jenkins.io/redirect/developer/class-is-missing-descriptor
not sure how to solve this for List of String.