1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Invoke method 'use' before returning configuration values

In order to ensure all actions applied by 'use()' are also
applied before returning a single configuration values.

Possible optimization: introduce a flag indicating that 'use' has
been called (not implemented for now).
This commit is contained in:
Marcus Holl 2018-09-06 11:13:08 +02:00
parent b65eca35b2
commit 685756f09d

View File

@ -103,6 +103,7 @@ class ConfigurationHelper implements Serializable {
}
def getConfigProperty(key) {
use()
return getConfigPropertyNested(config, key)
}