On Tue, Jul 12, 2016 at 5:45 AM, Michael Neale <
mne...@cloudbees.com> wrote:
> The behavior I am seeing is that when there is an origin PR opened, it kicks off 2 builds, one for the PR and one for the branch
Well that is what you requested—to build it both ways.
> even if there is no merge needed with master
Whether or not a merge is needed may change from build to build. Try
committing something to `master`. You should see a second build of the
PR job.
> I can't quite fathom what the help text says
PRs welcome.
BTW I did update the formal documentation to make mention of the new
options. But whoever is responsible for publishing these updates has
so far not done so. Perhaps you can help nudge them. When a
documentation person has the time, this documentation ought to get
moved to
jenkins.io, or whatever the preferred home for plugin
documentation is these days (it seems to be in flux).
> What I would like is for branch to be built, but only an additional build performed IF it actually isn't up to date with master. Is this possible at the moment or not?
Not as such. Again, the checkboxes just control which *jobs* are
defined according to inherent aspects of the branches/PRs. The need
for, and validity of, a merge is liable to vary from one commit to the
next after the job has been created.
> Perhaps another option is to not build branches, but only build PRs, then it would only show up once?
Sure, just uncheck “Build origin branches also filed as PRs”.