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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jenkins build on PR Merged

Edited

Hello, 

I've reading some post but after try suggestion still not working on my side so I decided to post to get some help due I no longer have clue where to look.

  • We've a workspace in Bitbucket Cloud with our Repository
  • Webhook is created in the Repo to point to our Jenkins server
    • Only Pull Request -> Merged is checked out into Webhook options
    • No errors are found on the history
  • Jenkins is configured to use Bitbucket Plugin and Pipeline is configured as Bitbucket Job
    • Strategy selected are:
      • Discover Branches - > "Only Branches that are also filed as PRs"
      • Discover Pull Request from Origin -> "Merging the pull request with the current target branch revision"

In resume our goal is that when the Pull Request is created we would like that Jenkins job is kick in by the webhook to start the build - currently we're using the polling each 5 minutes... but there should be better way

 

Our Jenkins version is 2.235.3

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

59 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you