Dec 25 2022
06:32 AM
- last edited on
Mar 05 2024
02:16 PM
by
TechCommunityAP
Dec 25 2022
06:32 AM
- last edited on
Mar 05 2024
02:16 PM
by
TechCommunityAP
Hi All.
My problem statement is, I have to run two jobs on different agent in loop but each job should run one by one even though agent are different.
My yaml are as below.
stages:
- ${{ each version in parameters.versions }}
- stage:
- ${{ each value in parameters.value }}
- job:
pool:
name: pool1
steps:
- script echo xyz
- job:
pool:
name: pool2
steps:
- script echo xyz
Note:- No Job should run in parallel.
Could anyone suggest any solution for this.
Thanks