groovy - How to add new line to description in Jenkins -
how add new line description in jenkins, when change programmatically?
i have tried this:
job.builds[0].description = "hello" << '\n' << "world" and console scripts prints well:
hello
world
but in description on jenkins, job has "hello world" without newline beetwen hello , world
is there way this?
ok, found answer.
description raw html.
to create new line, must write:
job.builds[0].description = "hello<br> world" console print hello<br> world, in description newline.
Comments
Post a Comment