Pull request refspec

Hi,

I'm working on a poc for building pull requests (refs/pull-requests/*/merge-clean) since we are experiencing a high build failure rate when building developers remote branches. We are expecting the code to be in a buildable state, ready for integration when a Pull Request is submitted.

Currently have this setup working with Jenkins/git plugin/Stash jenkins webhook. My question is, is there a way to limit the amount of pull requests git is going thru? Meaning, pull requests greater than some specified number? I can see this list becoming huge if/when implemented into our live production environment.

Started by an SCM change
Building in workspace C:\Program Files (x86)\Jenkins\workspace\crypto pull request build
Checkout:crypto pull request build / C:\Program Files (x86)\Jenkins\workspace\crypto pull request build - hudson.remoting.LocalChannel@1a2017d
Using strategy: Default
Last Built Revision: Revision 8fc758db16e8df6bb98a5d90e29f85c08f5894c6 (origin/pull-requests/6/merg-clean)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Pruning obsolete local branches
Seen branch in repository origin/branch_dev
Seen branch in repository origin/branch_jks
Seen branch in repository origin/branch_jks2
Seen branch in repository origin/branch_jks3
Seen branch in repository origin/master
Seen branch in repository origin/pull-requests/1/from
Seen branch in repository origin/pull-requests/1/merge
Seen branch in repository origin/pull-requests/1/merge-clean
Seen branch in repository origin/pull-requests/1/to
Seen branch in repository origin/pull-requests/2/from
Seen branch in repository origin/pull-requests/2/merge
Seen branch in repository origin/pull-requests/2/merge-base
Seen branch in repository origin/pull-requests/2/merge-clean
Seen branch in repository origin/pull-requests/2/to
Seen branch in repository origin/pull-requests/3/from
Seen branch in repository origin/pull-requests/3/merge
Seen branch in repository origin/pull-requests/3/merge-base
Seen branch in repository origin/pull-requests/3/merge-clean
Seen branch in repository origin/pull-requests/3/to
Seen branch in repository origin/pull-requests/4/from
Seen branch in repository origin/pull-requests/4/merge
Seen branch in repository origin/pull-requests/4/merge-clean
Seen branch in repository origin/pull-requests/4/to
Seen branch in repository origin/pull-requests/5/from
Seen branch in repository origin/pull-requests/5/merge
Seen branch in repository origin/pull-requests/5/merge-clean
Seen branch in repository origin/pull-requests/5/to
Seen branch in repository origin/pull-requests/6/from
Seen branch in repository origin/pull-requests/6/merge
Seen branch in repository origin/pull-requests/6/merge-clean
Seen branch in repository origin/pull-requests/6/to
Seen branch in repository origin/pull-requests/7/from
Seen branch in repository origin/pull-requests/7/merge
Seen branch in repository origin/pull-requests/7/merge-clean
Seen branch in repository origin/pull-requests/7/to
Seen 35 remote branches

1 answer

found that this is resolved in STash2.12

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Meg Holbrook
Posted Monday in Off-topic

Miscellaneous Monday - Throwback Edition

It's Monday morning here is sunny California! (86 degrees in April, what is happening right now??) Time for another Miscellaneous Monday! I was having a random conversation with my nine-year-old thi...

2,573 views 38 2
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you