diff --git a/createDocu.groovy b/createDocu.groovy index 63b1dae02..0f83beb18 100644 --- a/createDocu.groovy +++ b/createDocu.groovy @@ -367,6 +367,21 @@ void handleStep(stepName, prepareDefaultValuesStep, gse) { def step = [parameters:[:]] + // + // START special handling for 'script' parameter + // ... would be better if there is no special handling required ... + + step.parameters['script'] = [ + docu: 'The common script environment of the Jenkinsfile running. ' + + 'Typically the reference to the script calling the pipeline ' + + 'step is provided with the this parameter, as in script: this. ' + + 'This allows the function to access the ' + + 'commonPipelineEnvironment for retrieving, for example, configuration parameters.', + required: true + ] + + // END special handling for 'script' parameter + Helper.normalize(params).toSorted().each { it ->