nemccarthy / stash-pullrequest-builder-plugin

A Jenkins plugin for Building Stash Pull Requests
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin
Other
64 stars 130 forks source link

Support non-triggered parameterized builds. #115

Open ccobbster opened 7 years ago

ccobbster commented 7 years ago

Adds option to launch through a parameterized build (Build with Parameters), not triggered by polling.

This makes the Stash Pull Request Builder Plugin work in conjunction with Pull Request Notifier for Bitbucket Server.

Essentially, we wanted to take advantage of the Stash Pull Request Builder Plugin comments on the Pull Request, but not have it constantly polling pull request changes. The Pull Request Notifier for Bitbucket Server launches a build by launching a build with parameters. To avoid polling on top of the externally launched build, we set a cron schedule of '1 1 1 1 1' so it only polls on Jan 1 if its a Monday.