jenkinsci/stashnotifier-plugin

Allow overriding the build url used for the build

Closed this issue · 0 comments

What feature do you want to see added?

Currently the build url sent to bitbucket represents the top-level build, which works for most cases. In a pipeline build, you may want to notify bitbucket for individual stages, by setting the buildName prop for the stage. Jenkins allows you to view the logs for an individual stage, which is useful when you're trying to find what tests failed in a particular stage (url looks something like job/PR-5339/19/execution/node/71/log/).

Coupling buildName with a new prop buildUrl would facilitate this.

Upstream changes

No response