Azure Devops
This guide will help you integrate Scandium into your Azure DevOps pipeline. You’ll be able to trigger and monitor Scandium test executions directly within your Azure build or release pipelines.
Last updated
trigger:
branches:
include:
- main
variables:
- group: ScandiumVars
pool:
vmImage: 'ubuntu-latest'
steps:
- script: sudo apt-get update && sudo apt-get install -y jq
displayName: 'Install jq'
- script: |
SCRIPT_URL="https://raw.githubusercontent.com/GetScandium/files/refs/heads/main/scandium_script.sh"
curl -o scandium_script.sh $SCRIPT_URL
chmod +x scandium_script.sh
displayName: 'Download Scandium Script'
- script: ./scandium_script.sh
env:
API_TOKEN: $(API_TOKEN)
PROJECT_ID: $(PROJECT_ID)
SUITE_ID: $(SUITE_ID)
HUB_URL: $(HUB_URL)
STARTING_URL: $(STARTING_URL)
BROWSER: $(BROWSER)
SCREENSHOT: $(SCREENSHOT)
VARIABLES: $(VARIABLES)
RETRY: $(RETRY)
MAX_ATTEMPTS: $(MAX_ATTEMPTS)
WAIT_PERIOD: $(WAIT_PERIOD)
displayName: 'Run Scandium Script'