9f5aaa6240
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19421.1
25 lines
871 B
YAML
25 lines
871 B
YAML
parameters:
|
|
ChannelId: 0
|
|
|
|
jobs:
|
|
- job:
|
|
displayName: Promote Build
|
|
dependsOn: setupMaestroVars
|
|
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', ${{ parameters.ChannelId }}))
|
|
variables:
|
|
- name: BARBuildId
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
|
|
- name: ChannelId
|
|
value: ${{ parameters.ChannelId }}
|
|
pool:
|
|
vmImage: 'windows-2019'
|
|
steps:
|
|
- task: PowerShell@2
|
|
displayName: Add Build to Channel
|
|
inputs:
|
|
filePath: $(Build.SourcesDirectory)/eng/common/post-build/promote-build.ps1
|
|
arguments: -BuildId $(BARBuildId)
|
|
-ChannelId $(ChannelId)
|
|
-MaestroApiAccessToken $(MaestroApiAccessToken)
|
|
-MaestroApiEndPoint $(MaestroApiEndPoint)
|
|
-MaestroApiVersion $(MaestroApiVersion)
|