summaryrefslogtreecommitdiff
path: root/eng/common/templates/post-build/darc-gather-drop.yml
blob: 3268ccaa5513979225f9551244e267c6d681ab83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
parameters:
  ChannelId: 0

jobs:
- job: gatherDrop
  displayName: Gather Drop
  dependsOn: setupMaestroVars
  condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', ${{ parameters.ChannelId }}))
  variables:
    - name: BARBuildId
      value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
  pool:
    vmImage: 'windows-2019'
  steps:
    - task: PowerShell@2
      displayName: Darc gather-drop
      inputs:
        filePath: $(Build.SourcesDirectory)/eng/common/post-build/darc-gather-drop.ps1
        arguments: -BarBuildId $(BARBuildId) 
          -DropLocation $(Agent.BuildDirectory)/Temp/Drop/ 
          -MaestroApiAccessToken $(MaestroApiAccessToken)
          -MaestroApiEndPoint $(MaestroApiEndPoint)
          -MaestroApiVersion $(MaestroApiVersion)