1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Avoid trailing whitespaces

caused by empty lines in the javadoc like documentation
This commit is contained in:
Marcus Holl 2018-10-30 08:02:58 +01:00
parent 5ca2f1530e
commit 66b79947ed

View File

@ -175,8 +175,8 @@ class Helper {
def _docu = [], _value = [] def _docu = [], _value = []
docuLines.each { _docu << it } docuLines.each { _docu << it }
valueLines.each { _value << it} valueLines.each { _value << it}
step.parameters[param].docu = _docu*.trim().join(' ') step.parameters[param].docu = _docu*.trim().join(' ').trim()
step.parameters[param].value = _value*.trim().join(' ') step.parameters[param].value = _value*.trim().join(' ').trim()
} }
docuLines.clear() docuLines.clear()
valueLines.clear() valueLines.clear()