For several years, we have been using Stash to manage our Git repos. The host name for our server was '
stash.xxx.com'.
Recently we upgraded to the latest version of Bitbucket Server. At the same time, we upgraded the server hardware, and to avoid confusion that might occur when users connected to '
stash.xxx.com' and landed in 'Bitbucket Server', we set the host name as '
bitbucket.xxx.com'.
This had the adverse effect of breaking the Stash Webhook to Jenkins in that the URL used in the notifyCommit no longer matches any of the jobs in Jenkins.
Maybe it was a mistake to change the base url for Bitbucket Server, but 'bitbucket' seemed more appropriate than 'stash' for access to the UI.
Suggestion:
To deal with this situation, it would be handy if the Git plugin provided a means to configure host name aliases so that the notifyCommit message would trigger polling for '
stash.xxx.com' or '
bitbucket.xxx.com'.
Would this be of general interest?
Michael Giroux