mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
Fix compatibility feature
This commit is contained in:
parent
fa33f1925c
commit
4344f279fa
@ -49,7 +49,7 @@ class ConfigurationHelper implements Serializable {
|
||||
|
||||
final ConfigurationHelper mixin(Map parameters, Set filter = null, Map compatibleParameters = [:]){
|
||||
if (parameters.size() > 0 && compatibleParameters.size() > 0) {
|
||||
parameters = ConfigurationMerger.merge(handleCompatibility(compatibleParameters, parameters), null, parameters)
|
||||
parameters = ConfigurationMerger.merge(handleCompatibility(compatibleParameters, parameters, config), null, parameters)
|
||||
}
|
||||
if (filter) {
|
||||
filter.add('collectTelemetryData')
|
||||
|
@ -193,7 +193,7 @@ void call(Map parameters = [:]) {
|
||||
.mixin([
|
||||
style : libraryResource('piper-os.css')
|
||||
])
|
||||
.mixin(parameters, PARAMETER_KEYS)
|
||||
.mixin(parameters, PARAMETER_KEYS, CONFIG_KEY_COMPATIBILITY)
|
||||
.dependingOn('scanType').mixin('buildDescriptorFile')
|
||||
.dependingOn('scanType').mixin('configFilePath')
|
||||
.dependingOn('scanType').mixin('dockerImage')
|
||||
|
Loading…
Reference in New Issue
Block a user