The following will be performed for this job:
- Configure Git to check out source code for the pull request if Git is selected in Source Code Management section of this job and not yet configured.
- A build of this job will be triggered every time a pull request is updated or created.
- Cancel older in-progress builds of a pull request when a new build for that same pull request is scheduled.
- Instances deployed by ElasticBox - Deploy Box build step for a pull request in this job or its downstream jobs will be terminated and deleted after the pull request is merged or closed.
The following parameters are available to the triggered build:
- PR_NUMBER - Pull request number
- PR_URL - Pull request URL (e.g. https://github.com/jenkinsci/elasticbox-plugin/pull/1)
- PR_OWNER - GitHub login of the pull request owner
- PR_OWNER_EMAIL - Pull request owner's email address
- PR_MERGE_BRANCH - Branch that the pull request wants to be merged to (e.g. master)
- PR_BRANCH - Git branch of the pull request (e.g. fix-unit-tests)
- PR_COMMIT - Git commit for the triggered build (e.g. fe982b7082035025bef4e851b5bd250a21aae18e)
- BUILD_REQUESTER - GitHub login of the person requesting this build via a trigger phrase like “Jenkins test this please”
- BUILD_REQUESTER_EMAIL - Email address of the build requester