Out of curiosity, adding another dns entry might solve your issue, doesn't 
it?


stash.xxx.com 
<http://www.google.com/url?q=http%3A%2F%2Fstash.xxx.com&sa=D&sntz=1&usg=AFQjCNFhVbVppq6L81lDSeuh4ASCGJCucg>
 -> 
1.2.3.4
bitbucket.xxx.com -> 1.2.3.4


Cheers

On Tuesday, 7 March 2017 20:03:17 UTC, Michael Giroux wrote:
>
> For several years, we have been using Stash to manage our Git repos.  The 
> host name for our server was 'stash.xxx.com 
> <http://www.google.com/url?q=http%3A%2F%2Fstash.xxx.com&sa=D&sntz=1&usg=AFQjCNFhVbVppq6L81lDSeuh4ASCGJCucg>
> '.
>
> 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'.
>
> We also configured Bitbucket Server to use a base URL of '
> http://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.
>
> ex.  
> http://jenkins.host.com/git/notifyCommit?url=http://bitbucket.xxx.com/.... 
>  no longer matches any of the jobs that are configured to fetch from 
> http://stash.xxx.com/...  and we no longer have builds kicked off when 
> code is pushed to Bitbucket Server.
>
> 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
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ab37e35b-4f27-479d-89d5-6b01c08e5156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to