Hello,
Our builds take usually 40 minutes (already using IncrediBuild distributing to 10 machines). Creating installers takes again about 30 minutes, installers are about 2GB large (compressed). Artifacts are even bigger (C++ native Windows software).
We use git-flow and before a pull-request is allowed to be merged it has to pass a build (no tests yet included). "Requires a minimum of <1> successful builds" is enabled in Stash.
Right now I use Jenkins with a refspec to checkout the pull-request branches. How do i configure a refspec in Bamboo? There is no such field anywhere. If I allow all branches to build, then the builds will just queue up. We have ~20 developers pushing several times a day to their branches. Build results become important for integrators only once a developer has created a pull-request and then it needs to have precedence over other builds.
(I spent the last whole week to search here and the internet for solutions/workarouns, but found nothing usefull; only obsolete/incomplete information.)
I would like my team to switch to Bamboo, but this (apart from Stash PR triggers not (yet?) working) is the only issue, which seems to block us.
BTW: Whats the difference between trigger types "Repository triggers..." and "Stash repository triggers..."?
Bamboo version: 5.6.1
Stash version: 3.2.0
JIRA version: 6.2
Best Regards, Mike
How would a regexp capturing pull-request branches only look like? Like so?:
pull-requests/.*
(we need build the source branch of a pull-request - only when a pull-request is active)
Mike
I'm not really sure if pull requests have a permanent branch in Stash. Maybe mark this question with Stash label as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So far i know, they don't. That's why i mentioned the refspec above. The refspec would be somthing like this: +refs/pull-requests/*/from:refs/remotes/origin/pr/*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do i configure a refspec in Bamboo?
You're not able to specify the whole refspec but you can specify branch name pattern and only those branches will be autocreated in Bamboo. More info here.
Whats the difference between trigger types "Repository triggers..." and "Stash repository triggers...
Stash repository trigger has a built-in fallback to a predefined polling if we diagnose that Stash is not able to remotely trigger builds in Bamboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.