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
I'm not sure how old it is, but I recently discovered the buildDescription plugin that gives you a declarative method to set the build description.
Once installed, it's as easy as:
steps {
buildDescription 'my build'
}
The console will show a step output:
New run description is 'my build'