We were using Gerrit before and there was nice flow for verification of commit. It worked on push request.
When developer was pushing to any branch, automated verification job was started in Jenkins (it was simple build of the project), build result was sent beck to Gerrit. Also team lead of developer had to verify this push.
If both: verification build and approve from team lead, are ok, then CI Jenkins job was triggered.
Is there anything looking same in Stash? As I see there is some kind of flow that includes verification of team lead (other developer in team), but what about verification job in jenkins?
Stash support pull requests. You can configure checks like minimum number of successful builds: https://confluence.atlassian.com/display/STASH/Checks+for+merging+pull+requests
Also there are some plugins that can add check hooks for pushes to repository:
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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