Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up a job that depends on multiple jobs

I'm setting up an azure pipeline using YAML with some jobs, I have one job that depends on multiple other jobs.

jobs:

  • job: A ...

  • job: B ...

  • job: C

    dependsOn: A, B

running this code gave me an error 'Job Artifact depends on unknown job A,B.'

like image 959
arhe10 Avatar asked Sep 05 '25 13:09

arhe10


1 Answers

I corrected the sysntax

- job: C

  dependsOn:
    - A
    - B 
  
like image 80
arhe10 Avatar answered Sep 08 '25 23:09

arhe10