Integrations tab
In the Integrations tab, you can configure Automated tests and Automated deployment options.
On this page:
Overview
You can edit and save all options for automated tests and automated deployment when each of their toggles is disabled. However, the new updates take effect only when the toggles are enabled.
The project Automated Tests and Automated Deployment details are hidden from project members unless they are an owner or an administrator. This enables project members to check the project settings but not change them.
To learn how to enable automated tests and deployment for a P4 Code Review project, watch this video or review the instructions following the video.
The project level test and deploy code features will be deprecated in a later P4 Code Review release. We recommend you use test integration to automatically deploy code within a review. For more information, see Add a test.
Automated tests
To enable or disable running automated tests for a project when reviews are created or updated, slide Automated tests toggle. When you wish to enable automated tests, enter a URL that triggers a test suite execution. Use the special arguments described in the dialog to help compose a URL that informs your test suite about important details.
Select the format of the POST parameters, either URL Encoded or JSON Encoded.
-
URL Encoded: POST parameters are parsed into name=value pairs.
-
JSON Encoded: parameters are passed raw in the POST body.
For more details about automated tests, see Automated testing for reviews.
Automated deployment
To enable or disable deploying a project when reviews are created or updated, slide the Automated deployment toggle. When you wish to enable automated deployment, enter a URL that triggers a deployment of the project's code. Use the special arguments described in the dialog to help compose a URL that informs your deployment program with important details. For more details about automated deployment, see Automatically deploy code within a review.