Setting Up AskUI in Azure DevOps
Automate your AskUI workflows in Azure DevOps with this comprehensive guide for Python!
1
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.
2
Configure Pipeline YAML
Create an
azure-pipelines.yml
file in your repository root with the following configuration:3
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.
4
Set Up AskUI Agent OS
Add the following to your pipeline YAML to set up the AskUI Agent OS:
5
Run Tests
Execute your AskUI Python scripts:
6
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.