|
20 | 20 | demands: ImageOverride -equals Build.Windows.10.Amd64.VS2017 |
21 | 21 | dependsOn: ${{ parameters.dependsOn }} |
22 | 22 | publishUsingPipelines: true |
23 | | - # Update dotnet/versions |
24 | | - - job: Finalize_Publish_Versions |
25 | | - displayName: Finalize Publish Versions |
26 | | - dependsOn: |
27 | | - - Asset_Registry_Publish |
28 | | - pool: |
29 | | - name: Hosted VS2017 |
30 | | - variables: |
31 | | - - group: DotNet-Versions-Publish |
32 | | - steps: |
33 | | - # Download nuget packages |
34 | | - - task: DownloadBuildArtifacts@0 |
35 | | - displayName: Download nuget package artifacts |
36 | | - inputs: |
37 | | - buildType: current |
38 | | - artifactName: PackageArtifacts |
39 | | - downloadPath: ${{ parameters.artifactsDir }}/nuget |
40 | | - |
41 | | - #- powershell: | |
42 | | - # $prefix = "refs/heads/" |
43 | | - # $branch = "$(Build.SourceBranch)" |
44 | | - # $branchName = $branch |
45 | | - # if ($branchName.StartsWith($prefix)) |
46 | | - # { |
47 | | - # $branchName = $branchName.Substring($prefix.Length) |
48 | | - # } |
49 | | - # Write-Host "For Build.SourceBranch $branch, FullBranchName is $branchName" |
50 | | - # Write-Host "##vso[task.setvariable variable=FullBranchName;]$branchName" |
51 | | - # ls -R ${{ parameters.artifactsDir }}/nuget/*.nupkg |
52 | | - # $(Build.SourcesDirectory)/UpdatePublishedVersions.ps1 ` |
53 | | - # -gitHubUser ${{ parameters.gitHubUser }} ` |
54 | | - # -gitHubEmail ${{ parameters.gitHubEmail }} ` |
55 | | - # -gitHubAuthToken ${{ parameters.gitHubAuthToken }} ` |
56 | | - # -versionsRepoOwner ${{ parameters.versionsRepoOwner }} ` |
57 | | - # -versionsRepo ${{ parameters.versionsRepo }} ` |
58 | | - # -versionsRepoPath build-info/dotnet/coreclr/$branchName ` |
59 | | - # -nupkgPath ${{ parameters.artifactsDir }}/nuget/*.nupkg |
60 | | - |
61 | | - # displayName: Run UpdatePublishedVersions.ps1 |
62 | | - |
63 | | - - task: CopyFiles@2 |
64 | | - displayName: Copy Files to $(Build.StagingDirectory)\BuildLogs |
65 | | - inputs: |
66 | | - SourceFolder: '$(Build.SourcesDirectory)' |
67 | | - Contents: | |
68 | | - *.log |
69 | | - *.binlog |
70 | | - TargetFolder: '$(Build.StagingDirectory)\BuildLogs' |
71 | | - continueOnError: true |
72 | | - condition: succeededOrFailed() |
73 | | - |
74 | | - - task: PublishBuildArtifacts@1 |
75 | | - displayName: Publish Artifact BuildLogs |
76 | | - inputs: |
77 | | - PathtoPublish: '$(Build.StagingDirectory)\BuildLogs' |
78 | | - ArtifactName: Finalize_Publish_Versions |
79 | | - continueOnError: true |
80 | | - condition: succeededOrFailed() |
0 commit comments