mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
keep leading blanks in order to render 'git diff! Note' statements
This commit is contained in:
parent
6e26d78047
commit
8fb7c85e99
@ -210,7 +210,7 @@ class Helper {
|
||||
def _docu = []
|
||||
docuLines.each { _docu << it }
|
||||
_docu = Helper.trim(_docu)
|
||||
step.description = _docu*.trim().join('\n')
|
||||
step.description = _docu.join('\n')
|
||||
} else {
|
||||
|
||||
def param = retrieveParameterName(line)
|
||||
@ -270,7 +270,7 @@ class Helper {
|
||||
}
|
||||
|
||||
if(! value && ! mandatory) {
|
||||
docuLines << _line.trim()
|
||||
docuLines << _line
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user