[git] Merge requests don't rebuild when master branch is updated

8 views
Skip to first unread message

Niklas Claesson

unread,
Feb 13, 2015, 10:49:34 AM2/13/15
to jenkins...@googlegroups.com
Hi,

My setup: Two git repositories, "origin" and "upstream". Origin contains the branch being worked on, lets call it "feature-x", and upstream contains the master to try and merge against.

I have setup a job which has both repositories listed and polls SCM every 5 min. The job checks out "origin/feature-x" (the one being merge requested) and then does a "Merge before build" to the upstream/master branch.

This works fine as long as commits are pushed to "origin/feature-x" but new commits to "origin/master" won't issue a rebuild.

Could this be a bug in the git plugin, or do you think my configuration is incorrect?

Cheers
Reply all
Reply to author
Forward
0 new messages