1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/vars/prepareDefaultValues.groovy

21 lines
607 B
Groovy
Raw Normal View History

import com.sap.piper.GenerateDocumentation
import com.sap.piper.DefaultValueCache
2018-06-20 10:51:48 +02:00
import com.sap.piper.MapUtils
import groovy.transform.Field
@Field STEP_NAME = getClass().getName()
2019-03-29 13:14:01 +02:00
@Field Set GENERAL_CONFIG_KEYS = []
@Field Set STEP_CONFIG_KEYS = []
@Field Set PARAMETER_KEYS = []
/**
* 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`
*/
@GenerateDocumentation
2018-08-30 16:33:07 +02:00
void call(Map parameters = [:]) {
DefaultValueCache.prepare(this, parameters)
}