github.com/xgoffin/jenkins-library@v1.154.0/vars/prepareDefaultValues.groovy (about) 1 import com.sap.piper.GenerateDocumentation 2 import com.sap.piper.DefaultValueCache 3 4 import groovy.transform.Field 5 6 import static com.sap.piper.Prerequisites.checkScript 7 8 @Field STEP_NAME = getClass().getName() 9 10 @Field Set GENERAL_CONFIG_KEYS = [] 11 @Field Set STEP_CONFIG_KEYS = [] 12 @Field Set PARAMETER_KEYS = [] 13 14 /** 15 * Loads the pipeline library default values from the file `resources/default_pipeline_environment.yml`. 16 * Afterwards the values can be loaded by the method: `ConfigurationLoader.defaultStepConfiguration` 17 */ 18 @GenerateDocumentation 19 void call(Map parameters = [:]) { 20 def script = checkScript(this, parameters) 21 DefaultValueCache.prepare(script, parameters) 22 }