mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
11 lines
392 B
Groovy
11 lines
392 B
Groovy
|
import com.sap.piper.DefaultValueCache
|
||
|
|
||
|
def call(Map parameters = [:]) {
|
||
|
handlePipelineStepErrors (stepName: 'prepareDefaultValues', stepParameters: parameters) {
|
||
|
if(!DefaultValueCache.getInstance()) {
|
||
|
Map defaultValues = readYaml text: libraryResource('default_pipeline_environment.yml')
|
||
|
DefaultValueCache.createInstance(defaultValues)
|
||
|
}
|
||
|
}
|
||
|
}
|