Merge in 'release/7.0.1xx' changes
This commit is contained in:
commit
f63658eea7
4 changed files with 14 additions and 14 deletions
|
@ -12,7 +12,7 @@ param(
|
||||||
try {
|
try {
|
||||||
. $PSScriptRoot\post-build-utils.ps1
|
. $PSScriptRoot\post-build-utils.ps1
|
||||||
|
|
||||||
$darc = Get-Darc
|
$darc = Get-Darc
|
||||||
|
|
||||||
$optionalParams = [System.Collections.ArrayList]::new()
|
$optionalParams = [System.Collections.ArrayList]::new()
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host 'done.'
|
Write-Host 'done.'
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host $_
|
Write-Host $_
|
||||||
Write-PipelineTelemetryError -Category 'PromoteBuild' -Message "There was an error while trying to publish build '$BuildId' to default channels."
|
Write-PipelineTelemetryError -Category 'PromoteBuild' -Message "There was an error while trying to publish build '$BuildId' to default channels."
|
||||||
|
|
|
@ -92,7 +92,7 @@ jobs:
|
||||||
/p:OfficialBuildId=$(Build.BuildNumber)
|
/p:OfficialBuildId=$(Build.BuildNumber)
|
||||||
condition: ${{ parameters.condition }}
|
condition: ${{ parameters.condition }}
|
||||||
continueOnError: ${{ parameters.continueOnError }}
|
continueOnError: ${{ parameters.continueOnError }}
|
||||||
|
|
||||||
- task: powershell@2
|
- task: powershell@2
|
||||||
displayName: Create ReleaseConfigs Artifact
|
displayName: Create ReleaseConfigs Artifact
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -101,7 +101,7 @@ jobs:
|
||||||
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(BARBuildId)
|
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(BARBuildId)
|
||||||
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value "$(DefaultChannels)"
|
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value "$(DefaultChannels)"
|
||||||
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(IsStableBuild)
|
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(IsStableBuild)
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
displayName: Publish ReleaseConfigs Artifact
|
displayName: Publish ReleaseConfigs Artifact
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -127,7 +127,7 @@ jobs:
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
displayName: Publish SymbolPublishingExclusionsFile Artifact
|
displayName: Publish SymbolPublishingExclusionsFile Artifact
|
||||||
condition: eq(variables['SymbolExclusionFile'], 'true')
|
condition: eq(variables['SymbolExclusionFile'], 'true')
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt'
|
PathtoPublish: '$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt'
|
||||||
PublishLocation: Container
|
PublishLocation: Container
|
||||||
|
@ -154,4 +154,4 @@ jobs:
|
||||||
- ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:
|
- ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:
|
||||||
- template: /eng/common/templates/steps/publish-logs.yml
|
- template: /eng/common/templates/steps/publish-logs.yml
|
||||||
parameters:
|
parameters:
|
||||||
JobLabel: 'Publish_Artifacts_Logs'
|
JobLabel: 'Publish_Artifacts_Logs'
|
||||||
|
|
|
@ -20,7 +20,7 @@ parameters:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Optional: Include toolset dependencies in the generated graph files
|
# Optional: Include toolset dependencies in the generated graph files
|
||||||
includeToolset: false
|
includeToolset: false
|
||||||
|
|
||||||
# Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job
|
# Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job
|
||||||
jobs: []
|
jobs: []
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ parameters:
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobs }}:
|
- ${{ each job in parameters.jobs }}:
|
||||||
- template: ../job/job.yml
|
- template: ../job/job.yml
|
||||||
parameters:
|
parameters:
|
||||||
# pass along parameters
|
# pass along parameters
|
||||||
${{ each parameter in parameters }}:
|
${{ each parameter in parameters }}:
|
||||||
${{ if ne(parameter.key, 'jobs') }}:
|
${{ if ne(parameter.key, 'jobs') }}:
|
||||||
|
|
|
@ -39,7 +39,7 @@ parameters:
|
||||||
displayName: Enable NuGet validation
|
displayName: Enable NuGet validation
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
- name: publishInstallersAndChecksums
|
- name: publishInstallersAndChecksums
|
||||||
displayName: Publish installers and checksums
|
displayName: Publish installers and checksums
|
||||||
type: boolean
|
type: boolean
|
||||||
|
@ -131,8 +131,8 @@ stages:
|
||||||
displayName: Validate
|
displayName: Validate
|
||||||
inputs:
|
inputs:
|
||||||
filePath: $(Build.SourcesDirectory)/eng/common/post-build/nuget-validation.ps1
|
filePath: $(Build.SourcesDirectory)/eng/common/post-build/nuget-validation.ps1
|
||||||
arguments: -PackagesPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/
|
arguments: -PackagesPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/
|
||||||
-ToolDestinationPath $(Agent.BuildDirectory)/Extract/
|
-ToolDestinationPath $(Agent.BuildDirectory)/Extract/
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
displayName: Signing Validation
|
displayName: Signing Validation
|
||||||
|
@ -227,9 +227,9 @@ stages:
|
||||||
displayName: Validate
|
displayName: Validate
|
||||||
inputs:
|
inputs:
|
||||||
filePath: $(Build.SourcesDirectory)/eng/common/post-build/sourcelink-validation.ps1
|
filePath: $(Build.SourcesDirectory)/eng/common/post-build/sourcelink-validation.ps1
|
||||||
arguments: -InputPath $(Build.ArtifactStagingDirectory)/BlobArtifacts/
|
arguments: -InputPath $(Build.ArtifactStagingDirectory)/BlobArtifacts/
|
||||||
-ExtractPath $(Agent.BuildDirectory)/Extract/
|
-ExtractPath $(Agent.BuildDirectory)/Extract/
|
||||||
-GHRepoName $(Build.Repository.Name)
|
-GHRepoName $(Build.Repository.Name)
|
||||||
-GHCommit $(Build.SourceVersion)
|
-GHCommit $(Build.SourceVersion)
|
||||||
-SourcelinkCliVersion $(SourceLinkCLIVersion)
|
-SourcelinkCliVersion $(SourceLinkCLIVersion)
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
Loading…
Reference in a new issue