jenkins DSL dynamic parameters
<p>This is my configure block to generate dynamic parameters. But it is not working. Can someone help?</p>

<pre><code>configure { project -&gt;
    def paramDefs = project / 'properties' / 'hudson.model.ParametersDefinitionProperty' / 'parameterDefinitions'
    paramDefs &lt;&lt; 'com.seitenbau.jenkins.plugins.dynamicparameter.scriptler.ScriptlerStringParameterDefinition' {
             name('BUILD_VERSION')
             description('Overall Build version')
            __remote(false)
            __scriptlerScriptId('**/build_versions.groovy')
    }
}
</code></pre>