jenkinsci / stashnotifier-plugin

A Jenkins Plugin to notify Atlassian Stash|Bitbucket of build results
https://plugins.jenkins.io/stashNotifier/
Other
165 stars 143 forks source link

added buildUrl property for overriding the url used for the build / run #303

Closed marchaos closed 2 years ago

marchaos commented 2 years ago

This pull request allows overriding the url used for the build / run. This is useful in pipeline builds where you might notify bitbucket about a particular stage, where the url should go directly to the logs of that stage, rather than the top level pipeline. A new prop buildUrl allows you to override what is used, otherwise the default url that comes from DisplayURLProvider is used.

See feature request for more info - https://github.com/jenkinsci/stashnotifier-plugin/issues/302