I have the code below that runs 3 pipelines but I want to make it so it runs the first one and builds the product and then it runs the other two instead of all of them running at once so do the first one and then do the other 2 after the first one was successful.
variables:
- group: ReleaseVariables
name: 5.8$(rev:.r)
jobs:
- job: Ring_Web_Policy_Editor
timeoutInMinutes: 360
pool:
name: DATA-AUTOMATION-WIN10
demands: Cmd
steps:
- task: TriggerPipeline@1
inputs:
serviceConnection: 'azure-connection-dev'
project: '46da8f34-c009-4433-a2f5-1790a09b6055'
Pipeline: 'Build'
buildDefinition: 'Web Policy Editor'
Branch: '$(Build.SourceBranch)'
- task: TriggerPipeline@1
inputs:
serviceConnection: 'azure-connection-dev'
project: '46da8f34-c009-4433-a2f5-1790a09b6055'
Pipeline: 'Build'
buildDefinition: '(Chrome) Web Policy Editor Automation'
Branch: '$(Build.SourceBranch)'
- task: TriggerPipeline@1
inputs:
serviceConnection: 'azure-connection-dev'
project: '46da8f34-c009-4433-a2f5-1790a09b6055'
Pipeline: 'Build'
buildDefinition: '(Firefox) Web Policy Editor Automation'
Branch: '$(Build.SourceBranch)'