-
Improvement
-
Resolution: Fixed
-
Minor
-
None
I am using the Job DSL plugin on my project. I have a proprietary plugin, part of which is
a provider of parameters for the parameterized-trigger plugin. This allows me to trigger
a deployment with properties specified by my plugin:
public class MyCustomBuildParameters extends hudson.plugins.parameterizedtrigger.AbstractBuildParameters { // ... @Extension public static class DescriptorImpl extends Descriptor<AbstractBuildParameters> { // ... } }
This works great in the UI - I would like to be able to specify this somehow as part of a job DSL:
job('example') { publishers { // ... downstreamParameterized{ trigger('') { myCustomParameters() } } } }
In order to do this, DownstreamTriggerParameterContext needs to be an ExtensibleContext