Azure DevOps
This page explains how to set up and run AskUI workflows in Azure DevOps, including pipeline configuration, environment variables, Docker setup, and report generation, with a full example on GitHub.
Setting Up AskUI in Azure DevOps
Automate your AskUI workflows in Azure DevOps with this comprehensive guide for Python!
Project Structure
Create a tests
directory in your repository root to store your AskUI Python scripts.
Note: The directory name may vary based on your project organization.
Configure Pipeline YAML
Create an azure-pipelines.yml
file in your repository root with the following configuration:
Configure Environment Variables
Add the following required variables to your pipeline:
For AI model integration:
Note: Set these variables in your Azure DevOps pipeline settings.
Set Up AskUI Agent OS
Add the following to your pipeline YAML to set up the AskUI Agent OS:
Run Tests
Execute your AskUI Python scripts:
Publish Test Results
Publish the test results:
Example Python Script
Here’s a sample Python script to use in your tests directory:
Complete Example
Check out our complete example pipeline configuration on GitHub.