jenkinsci/github-oauth-plugin — pull request #7 by macreery (2013-03-29 15:11:54+00:00)
Title: Add security exception for /job/*/build and /job/*/buildWithParameters

(Reopening #6, but excluding an unmerged commit that never made it into this fork from @mocleiri's fork... Sorry again for the duplicate pull request.)

This pull request adds a configuration option to expose the `/build` and `/buildWithParameters` URLs for all jobs.

In order to trigger builds remotely (via "Build Triggers"), an external client needs to make a request to `/job/:job-name/build` (or `/job/:job-name/buildWithParameters`). This request is protected by a secret `token` parameter, so exposing the URL publicly should be minimally dangerous.