mana
mana

Reputation: 6547

Programmatically set build description

I'm trying to create a git-pull-request-checker with the workflow plugin. Is there a way to set the description for a build (e.g. to PR#123: fixed a bug) so that it becomes visible in the list of the previous builds?

Upvotes: 2

Views: 3414

Answers (1)

Jesse Glick
Jesse Glick

Reputation: 25451

As of 1.4, try

currentBuild.description = 'PR#123: fixed a bug'

Upvotes: 6

Related Questions