Re: Multi branch source - PR versus branch build

2017-05-03 Thread Dan Tran
for my use case, we only care about PR build. I ended up to setup jenkins file to let branch builds pass thru ( ie always green). and it is an on going confusion Thanks -Dan On Tuesday, May 2, 2017 at 9:20:46 PM UTC-7, Kevin Burnett wrote: > > i'm actually totally with you on this. > > i've

Re: Multi branch source - PR versus branch build

2017-05-02 Thread Kevin Burnett
i'm actually totally with you on this. i've been wanting to only build branches (and never build PRs) for a while now. in fact, we've gone so far as to "kill" PR builds manually in our shared library in order to not chew up resources needlessly: if (env.BRANCH_NAME &&

Re: Multi branch source - PR versus branch build

2017-05-01 Thread Dan Tran
So I misunderstood the mechanism of PR build where the target branch is not merged into the destination branch before build what is the benefit of auto build both merge and pr for every new commit? I can understand the benefit before issuing the PR, but from my experience ppl usually issue

Re: Multi branch source - PR versus branch build

2017-05-01 Thread Kevin Burnett
dan, i understand that you're using the bitbucket branch source plugin, you introduce a syntax error into the mainline branch (let's call it master), and you submit a pull request for a different branch (let's call it feature/new-hotness) that wasn't based off this bad master branch. your

Multi branch source - PR versus branch build

2017-04-30 Thread Dan Tran
Hi I am experimenting BitBucket multi branch source plugin I think PR build is just same as branch build. Basically, i force a syntax failure the main source, and create a pull request from another branch. I am expecting the PR build also fails as in main. But it is not. Am I missing