1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
This commit is contained in:
Christopher Fenner 2018-02-08 10:53:48 +01:00
parent a4b8d3828c
commit d97769b56c

View File

@ -19,13 +19,14 @@ def call(Map parameters = [:]) {
if (script == null)
script = [commonPipelineEnvironment: commonPipelineEnvironment]
prepareDefaultValues script: script
prepare(parameters)
List configurationKeys = [
'aggregation', 'tasks', 'pmd', 'cpd', 'findbugs', 'checkstyle', 'eslint', 'pylint', 'archive'
]
final Map stepDefaults = ConfigurationLoader.defaultStepConfiguration(script, STEP_NAME)
final Map stepConfiguration = ConfigurationLoader.stepConfiguration(script, STEP_NAME)
prepare(parameters)
Map configuration = ConfigurationMerger.merge(
parameters, configurationKeys,
stepConfiguration, configurationKeys,