1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

Streamline verbose logging

This commit is contained in:
Marcus Holl 2019-12-20 11:53:44 +01:00
parent aba476a22d
commit fddfe4aab6

View File

@ -94,11 +94,6 @@ void call(Map parameters = [:]) {
Map projectConfig = readJSON (text: sh(returnStdout: true, script: projectConfigScript))
Map contextConfig = readJSON (text: sh(returnStdout: true, script: contextConfigScript))
if(parameters.verbose) {
echo "[INFO] Context-Config: ${contextConfig}"
echo "[INFO] Project-Config: ${projectConfig}"
}
Action action = projectConfig.action
DeployMode mode = projectConfig.mode
@ -115,7 +110,7 @@ void call(Map parameters = [:]) {
]
if(parameters.verbose) {
echo "[INFO] Merged-Config: ${config}"
echo "[INFO] Config: ${config}"
}
def operationId