I\'m trying to replace our current build pipeline, currently hacked together using old-school Jenkins jobs, with a new job that uses the Jenkins pipeline plugin, and loads a
Just figured it out. The pipeline job exposes a currentBuild global variable with writable properties. Setting the description can be done with:
currentBuild
currentBuild.description = "my new description"
anywhere in the pipeline script. More information in this DZone tutorial.