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

keep leading blanks in order to render 'git diff! Note' statements

This commit is contained in:
Marcus Holl 2019-01-29 11:45:14 +01:00
parent 6e26d78047
commit 8fb7c85e99

View File

@ -210,7 +210,7 @@ class Helper {
def _docu = [] def _docu = []
docuLines.each { _docu << it } docuLines.each { _docu << it }
_docu = Helper.trim(_docu) _docu = Helper.trim(_docu)
step.description = _docu*.trim().join('\n') step.description = _docu.join('\n')
} else { } else {
def param = retrieveParameterName(line) def param = retrieveParameterName(line)
@ -270,7 +270,7 @@ class Helper {
} }
if(! value && ! mandatory) { if(! value && ! mandatory) {
docuLines << _line.trim() docuLines << _line
} }
} }