mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-30 05:59:39 +02:00
Cleanup (#844)
This commit is contained in:
parent
f3f4c741be
commit
3af8062c9f
@ -1,7 +1,5 @@
|
|||||||
package com.sap.piper
|
package com.sap.piper
|
||||||
|
|
||||||
import com.cloudbees.groovy.cps.NonCPS
|
|
||||||
|
|
||||||
@API
|
@API
|
||||||
class ConfigurationHelper implements Serializable {
|
class ConfigurationHelper implements Serializable {
|
||||||
|
|
||||||
@ -51,7 +49,7 @@ class ConfigurationHelper implements Serializable {
|
|||||||
return mixin(stepConfiguration, filter, compatibleParameters)
|
return mixin(stepConfiguration, filter, compatibleParameters)
|
||||||
}
|
}
|
||||||
|
|
||||||
final ConfigurationHelper mixin(Map parameters, Set filter = null, Map compatibleParameters = [:]){
|
ConfigurationHelper mixin(Map parameters, Set filter = null, Map compatibleParameters = [:]){
|
||||||
if (parameters.size() > 0 && compatibleParameters.size() > 0) {
|
if (parameters.size() > 0 && compatibleParameters.size() > 0) {
|
||||||
parameters = ConfigurationMerger.merge(handleCompatibility(compatibleParameters, parameters), null, parameters)
|
parameters = ConfigurationMerger.merge(handleCompatibility(compatibleParameters, parameters), null, parameters)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user