mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
No backticks in case we have the empty string as a default value
This commit is contained in:
parent
f09cd638bb
commit
1bc9ed4488
@ -18,7 +18,7 @@ class TemplateHelper {
|
||||
parameters.keySet().toSorted().each {
|
||||
|
||||
def props = parameters.get(it)
|
||||
t += "| `${it}` | ${props.required ? 'yes' : 'no'} | `${(props.defaultValue ?: '') }` | ${props.value ?: ''} |\n"
|
||||
t += "| `${it}` | ${props.required ? 'yes' : 'no'} | ${(props.defaultValue ? '`' + props.defaultValue + '`' : '') } | ${props.value ?: ''} |\n"
|
||||
}
|
||||
|
||||
t
|
||||
|
Loading…
Reference in New Issue
Block a user