Skip to content

Variable: linebreak

Misat11 edited this page May 10, 2020 · 3 revisions

linebreak

This simply breaks line :)

There are three types of line break:

  1. before - Breaks line before item, so item will be on next line
  2. after - Breaks line after item, so next items will be on next line
  3. both - Breaks before and after item

Yaml:

- stack: ...
  linebreak: before

Groovy:

item('...') {
  linebreak 'before'
}

Result:

Clone this wiki locally