Hi all,
I have started recently to develop a few plugins for Jenkins and I got stuck in something that I don't know if can be done or not.
The thing is that I want to add a custom set of parameters ("This build is parametrized") to all builds that are including my plugin. The reason why I want to do so is because the user of the plugin might need to input some data (files from and external server, uploaded or from another job) and I want those parameters to be provided on job trigger instead of on configuration. I know that I can provide parameters to achieve that but that requires all the jobs to be configured properly and manually (or with DSL).
Is it possible?
My workflow would be as follows:
The user configures the job to use my plugin -> The plugin adds a set of parameters to the job config -> The user runs the job providing the necessary parameters
Things that I have considered:
* Custom jelly page that has my custom fields. The cons of this solution is that then the plugin is not compatible with other sequential steps that work with user parameters.
Thanks for the answers and feel free to ask if something is confusing.