You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Credentials Plugin only supports the build stage and Username/Password credentail types.
The current use case I have requires mapping credentials onto TF_VAR_blah environment variables in the environment stages. Furthermore, some of these credentials are of the string() type of DSL call. Finally, some of these credentials differ between individual environment stage.
Current Workarounds
Currently I'm moving to decorating each stage directly in the Jenkinsfile for now.
Of the 3 issues outlined above, the first is taken care of with the above PR/Merge.
Thinking through the second (unique credentials per Environment), that seems a little tricky. There's already a "pattern" for environment-specific configuration for plugins like the S3BackendBucket, but I don't think that pattern fits well with the UseCase here.
I'm gonna break 2 and 3 out into separate issues, so that the first (CredentialsPlugin should be applied to every Stage) can be released sooner.
kmanning
changed the title
CredentialsPlugin: Support for environment stages, string, per-stage
CredentialsPlugin should be applied to every Stage, not just BuildStage
Apr 8, 2020
Overview
Currently Credentials Plugin only supports the build stage and Username/Password credentail types.
The current use case I have requires mapping credentials onto TF_VAR_blah environment variables in the environment stages. Furthermore, some of these credentials are of the
string()
type of DSL call. Finally, some of these credentials differ between individual environment stage.Current Workarounds
Currently I'm moving to decorating each stage directly in the Jenkinsfile for now.
The text was updated successfully, but these errors were encountered: