mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
14e43d9e0e
Documentation overhaul
36 lines
792 B
Groovy
36 lines
792 B
Groovy
class commonPipelineEnvironment implements Serializable {
|
|
private Map configProperties = [:]
|
|
|
|
Map defaultConfiguration = [:]
|
|
Map configuration = [:]
|
|
|
|
private String mtarFilePath
|
|
|
|
def setConfigProperties(map) {
|
|
configProperties = map
|
|
}
|
|
|
|
def getConfigProperties() {
|
|
return configProperties
|
|
}
|
|
|
|
def setConfigProperty(property, value) {
|
|
configProperties[property] = value
|
|
}
|
|
|
|
def getConfigProperty(property) {
|
|
if (configProperties[property] != null)
|
|
return configProperties[property].trim()
|
|
else
|
|
return configProperties[property]
|
|
}
|
|
|
|
def getMtarFilePath() {
|
|
return mtarFilePath
|
|
}
|
|
|
|
void setMtarFilePath(mtarFilePath) {
|
|
this.mtarFilePath = mtarFilePath
|
|
}
|
|
}
|