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:
parent
b65eca35b2
commit
685756f09d
@ -103,6 +103,7 @@ class ConfigurationHelper implements Serializable {
|
||||
}
|
||||
|
||||
def getConfigProperty(key) {
|
||||
use()
|
||||
return getConfigPropertyNested(config, key)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user