mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
45a2bfc4f7
rather than having it in a pipeline step. With that we avoid going back from a class in the src folder into a pipeline step (vars).
21 lines
607 B
Groovy
21 lines
607 B
Groovy
import com.sap.piper.GenerateDocumentation
|
|
import com.sap.piper.DefaultValueCache
|
|
import com.sap.piper.MapUtils
|
|
|
|
import groovy.transform.Field
|
|
|
|
@Field STEP_NAME = getClass().getName()
|
|
|
|
@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
|
|
void call(Map parameters = [:]) {
|
|
DefaultValueCache.prepare(this, parameters)
|
|
}
|