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
A plugin approach. Include whatever plugins you want to use, and the plugins do the customization. This might get tedious, as the number of plugins that are imported might start to get REALLY long as we decompose things into smaller and smaller pieces
A customization file. Imagine that teams write roughly the same Jenkinsfile, and then import a single Customize groovy class. All the customizations are delegated to that Customize class. 1 and 2 could actually be combined - Cutomize could be used to load in the long list of customized plugins.
The text was updated successfully, but these errors were encountered:
What if, at the time of Jenkinsfile.init(), we check for environment variables corresponding to each of the plugins. If the variable is "enabled", then the plugin is automatically pulled in. That would be a SUPER simple (also super "magical" - not necessarily a good thing) way to enable/disable functionality.
Eg: TERRAFORM_PIPELINE_PARAMETER_STORE_EXEC_ENABLED=true <-- set this as a global property in Jenkins, and automagically, every pipeline gets parameter-store-exec added.
The text was updated successfully, but these errors were encountered: