The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Python script to be configured in Bitbucket webhook & access Jenkins

Abhishek Srivastava
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2018

I am working on a task where I need to create a web-hook in BitBucket on a create pull request event. It should trigger a python script where I shall be able to validate the contents that I receive from the event , parse it & then send the payload to Jenkins to invoke a job.

I am struggling to find a clean way to do this. What is the URL that we need to set in the web-hook ? How does a URL invokes a python script ? Where do I need to keep that python script ? Any suggestions or pointers would we welcome.

Thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2018

Hi Abhishek!

For questions like this one, I'd suggest you head to our Developer Community, where the general audience might be more knowledgeable about that topic. 

Hope that helps!

Ana

TAGS
AUG Leaders

Atlassian Community Events