These access tokens serve as a way of authenticating requests to the notifyCommit
endpoint.
By default, all requests to notifyCommit
must include a valid token in the token
query parameter. However, it is possible to disable
that requirement with the system property:
hudson.plugins.git.GitStatus.NOTIFY_COMMIT_ACCESS_CONTROL
disabled-for-polling
- Allows unauthenticated requests as long as they only request polling of the repository supplied in the
url
query parameter. Prohibits unauthenticated requests that attempt to schedule a build immediately by providing a
sha1
query parameter.disabled
- Fully disables the access token mechanism and allows all requests to notifyCommit
to be unauthenticated. This option is insecure and is not recommended.