prepareDefaultValues¶
Description¶
Loads the pipeline library default values from the file resources/default_pipeline_environment.yml
.
Afterwards the values can be loaded by the method: ConfigurationLoader.defaultStepConfiguration
Parameters¶
name | mandatory | default | possible values |
---|---|---|---|
script |
yes |
script
- The common script environment of the Jenkinsfile running. Typically the reference to the script calling the pipeline step is provided with thethis
parameter, as inscript: this
. This allows the function to access thecommonPipelineEnvironment
for retrieving, e.g. configuration parameters.
Step configuration¶
We recommend to define values of step parameters via config.yml file.
In following sections of the config.yml the configuration is possible:
parameter | general | step/stage |
---|---|---|
script |
Exceptions¶
None
Dependencies¶
The step depends on the following Jenkins plugins
Transitive dependencies are omitted.
The list might be incomplete.
Consider using the ppiper/jenkins-master docker image. This images comes with preinstalled plugins.
Example¶
prepareDefaultValues()