Last active
June 30, 2023 01:09
-
-
Save beachside-project/7f4bbb309e63e0d64d787c2aa68c206d to your computer and use it in GitHub Desktop.
Azure Pipelines matrix sample(1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: matrix1 | |
stages: | |
- stage: matrix_demo | |
jobs: | |
- job: job_a | |
pool: | |
vmImage: ubuntu-latest | |
steps: | |
- powershell: echo 'Hello matrix' | |
name: targetList | |
- job: job_b | |
dependsOn: job_a | |
pool: | |
vmImage: ubuntu-latest | |
strategy: | |
matrix: | |
proj1: | |
PramA: 'proj1-val-A' | |
PramB: 'proj1-val-B' | |
proj2: | |
PramA: 'proj2-val-A' | |
PramB: 'proj2-val-B' | |
proj3: | |
PramA: 'proj3-val-A' | |
PramB: 'proj3-val-B' | |
maxParallel: 3 | |
steps: | |
- script: | | |
echo '$(PramA)' | |
echo '$(PramB)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment