janinko / ghprb

github pull requests builder plugin for Jenkins
https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin
MIT License
370 stars 20 forks source link

Trigger when target branch changes? #484

Open pch-envision opened 6 years ago

pch-envision commented 6 years ago

Is there any way to trigger tests to run again automatically when the target branch changes?

Suppose we have PR1 which targets master. Tests are triggered on pr/1/merge when master is at abc123. However, another PR2 is merged into master before PR1, and master is now at commit def456. Is there any way for GHPRB to trigger pr/1/merge again automatically? Or to somehow provide a warning that PR1 was last tested against a now-outdated version of master?

Thanks!

pch-envision commented 6 years ago

The same issue was opened on https://github.com/jenkinsci/ghprb-plugin/issues/658