Degraded performance We are experiencing technical difficulties at the moment. We will report back when have further details.
Is it possible to create an arbitrary action that executes when a pull request gets created?
The use case:
I would like to create a Jenkins job, based on a standard set of rules, each time a pull request is created in a Stash repository. I can use Jenkins polling to watch the branch from there and keep building on commits. Also, I can use a merge request check plugin to approve or deny the merge based on the Jenkins build status. Finally, I can clean up leftover jobs from merged pull requests using some yet-to-be-determined process.
The easiest way to implement this would probably be to write a third service that uses APIs of both applications to handle this asynchronously (with the notable exception of the merge request check). I would like to avoid creating a separate entity, and so I am left with the question above.
If I'm barking up the wrong tree and someone has a suggestion for a better implementation, I'm all ears. I'm still in the early stages here and haven't committed to any particular method.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs