Trigger the build on Gerrit patchset-created events.
The triggered build will be provided with the following parameters:
- GERRIT_CHANGE_ID: The change id.
- GERRIT_CHANGE_SUBJECT: The first line of the commit message.
- GERRIT_CHANGE_NUMBER: The change number.
- GERRIT_CHANGE_URL: The URL to the change.
- GERRIT_PATCHSET_NUMBER: The Patch Set number.
- GERRIT_PATCHSET_REVISION: The Patch Set revision id.
- GERRIT_PROJECT: The name of the project.
- GERRIT_BRANCH: The name of the branch.
- GERRIT_REFSPEC: The refspec to download the change.
The parameters will be available to the build as environment variables.
E.g. $GERRIT_REFSPEC