cff0723064
* Update dependencies from https://github.com/dotnet/arcade build 20190725.15 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19375.15 * Update dependencies from https://github.com/dotnet/arcade build 20190726.18 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19376.18
25 lines
854 B
YAML
25 lines
854 B
YAML
parameters:
|
|
ChannelId: 0
|
|
|
|
jobs:
|
|
- job:
|
|
displayName: Promote Build
|
|
dependsOn: setupMaestroVars
|
|
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], ${{ 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)
|