Integrate your mabl tests directly into your Azure Pipelines builds inside Azure DevOps. Use the mabl pipeline task to automatically trigger plans associated with a specific environment and/or application to run as a build task.
With the mabl integration for Azure Pipelines, you can:
- Launch mabl tests as a build or release pipeline task
- Fail the build or release based on the status of mabl tests. Optionally, you may set the task to continue on failure.
- View mabl test statuses and results from the Tests tab in your Azure DevOps Pipeline output
How it works
The mabl pipeline task in Azure triggers a deployment event, which executes mabl plans matching your defined filters: application, environment, and (optionally) plan labels.
Only active mabl plans that have a "Run on deployment" trigger will execute. If a plan is disabled or lacks a deployment trigger, it does not run as part of a deployment event.
Before you start
Before setting up a mabl pipeline task in Azure, gather the necessary information in mabl:
- The application ID and/or environment ID of the plans you want to trigger. See the article on mabl resource IDs for more information on obtaining these IDs.
- Plan labels - if you plan to run a subset of plans with specific labels
- A "CI/CD integration" API key. API key access and usage is limited to workspace owners.
Setup
Visit the mabl integration page in the Azure Marketplace for instructions on how to add a mabl pipeline task.