Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo - Bitbucket issue

Manasa Tumu July 2, 2018

I'm trying to enable the webhook for every commit that happens on a bitbucket repository. When i try to add the webhook url on bitbucket, it says invalid url. Can someone help?

https://confluence.atlassian.com/bamboo0605/using-bamboo/triggering-builds/triggering-a-bamboo-build-from-bitbucket-cloud-using-webhooks

https://build.company.name/browse/TEST-BT/rest/triggers/1.0/remote/changeDetection?planKey=TEST-BT&skipBranches=false

It gives me an invalid url. 

2 answers

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2018
Manasa Tumu July 2, 2018

I have tried above but still getting the Invalid URL issue. 

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2018

Does it work from command line, e.g. curl?

curl -X POST -H "Content-Type: application/json" "https://build.company.name/rest/triggers/1.0/remote/changeDetection?planKey=TEST-BT&skipBranches=false"
Manasa Tumu July 2, 2018

It gives me a 

Build request for plan originated from ip which is not an allowed address issue.

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 2, 2018

t's exactly response from trigger. Check you provided correct IP white list at trigger configuration

Manasa Tumu July 2, 2018

I have added the whitelist provided in my bamboo trigger.

https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html

 

Bitbucket webhook configuration says url i have provided is invalid. Could you help in resolving the url issue?

Manasa Tumu July 11, 2018

We had the restrictions on infrastructure for private url, when i used the public it worked as expected.

Thanks for the help!

0 votes
Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2018

Hi @Manasa Tumu

Welcome to the community!

Please have a look at the below article, hope it helps.

https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events