Trigger tests on deployment
Create a deployment event to trigger a parallel run of all active plans that meet specified conditions, including application, environment, and plan label. Learn more in the docs.
Query parameters
Set to true to preview what would be run
Request body
Unique ID for this event, set by mabl
The ID of the environment. When provided, mabl only triggers plans that contain this environment.
The ID of the application. When provided, mabl only triggers plans that contain this application.
The ID of the workspace associated with this deployment, set by mabl
Time at which the deployment occurred
Time at which the deployment event was received by the API
The source code revision associated with the deployment
Arbitrary key-value pairs used to pass additional information about this deployment
Target execution test runner image tag to execute
Optional orchestration runtime version to use, if applicable. Otherwise use default orchestration version.
If true will capture additional debugging information during execution of triggered test runs. Support admin or feature flag required.
If specified, only plans matching the given labels will execute
deprecated, use branch
The mabl branch to run tests from
Response
The deployment event was created
Unique ID for this event, set by mabl
The ID of the environment. When provided, mabl only triggers plans that contain this environment.
The ID of the application. When provided, mabl only triggers plans that contain this application.
The ID of the workspace associated with this deployment, set by mabl
Time at which the deployment occurred
Time at which the deployment event was received by the API
The source code revision associated with the deployment
Arbitrary key-value pairs used to pass additional information about this deployment
Target execution test runner image tag to execute
Optional orchestration runtime version to use, if applicable. Otherwise use default orchestration version.
If true will capture additional debugging information during execution of triggered test runs. Support admin or feature flag required.
If specified, only plans matching the given labels will execute
deprecated, use branch
The mabl branch to run tests from