How to add a new line to the description in Jenkins when I change it programmatically?
I tried something like this:
job.builds[0].description = "hello" << '\n' << "world"
and console scripts print well:
hello
world
but in Jenkins’s description this work has a “hello world” without a new line helloandworld
Is there any way to do this?
source
share