Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f2837ee

Browse files
authored
Merge pull request #40477 from dotnet/darc-release/3.0-preview9-f832fe6a-5886-43fb-b38a-7185cc37118e
[release/3.0-preview9] Update dependencies from dotnet/arcade
2 parents b9b3e8e + 32070bd commit f2837ee

19 files changed

+265
-168
lines changed

eng/Version.Details.xml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -34,65 +34,65 @@
3434
<Uri>https://github.com/dotnet/corefx</Uri>
3535
<Sha>976b84b4d969ce5d87bc437d811ec8864b47947a</Sha>
3636
</Dependency>
37-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19412.7">
37+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19421.1">
3838
<Uri>https://github.com/dotnet/arcade</Uri>
39-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
39+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
4040
</Dependency>
4141
<Dependency Name="NETStandard.Library" Version="2.1.0-prerelease.19414.3">
4242
<Uri>https://github.com/dotnet/standard</Uri>
4343
<Sha>7d56086e753abe6d9a99f67a9b6c021bf7c809ce</Sha>
4444
</Dependency>
45-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.19412.7">
45+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.19421.1">
4646
<Uri>https://github.com/dotnet/arcade</Uri>
47-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
47+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
4848
</Dependency>
49-
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="1.0.0-beta.19412.7">
49+
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="1.0.0-beta.19421.1">
5050
<Uri>https://github.com/dotnet/arcade</Uri>
51-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
51+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
5252
</Dependency>
53-
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19412.7">
53+
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19421.1">
5454
<Uri>https://github.com/dotnet/arcade</Uri>
55-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
55+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
5656
</Dependency>
57-
<Dependency Name="Microsoft.DotNet.GenFacades" Version="1.0.0-beta.19412.7">
57+
<Dependency Name="Microsoft.DotNet.GenFacades" Version="1.0.0-beta.19421.1">
5858
<Uri>https://github.com/dotnet/arcade</Uri>
59-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
59+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
6060
</Dependency>
61-
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="2.4.1-beta.19412.7">
61+
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="2.4.1-beta.19421.1">
6262
<Uri>https://github.com/dotnet/arcade</Uri>
63-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
63+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
6464
</Dependency>
65-
<Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.19412.7">
65+
<Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.19421.1">
6666
<Uri>https://github.com/dotnet/arcade</Uri>
67-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
67+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
6868
</Dependency>
69-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="1.0.0-beta.19412.7">
69+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="1.0.0-beta.19421.1">
7070
<Uri>https://github.com/dotnet/arcade</Uri>
71-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
71+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
7272
</Dependency>
73-
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="1.0.0-beta.19412.7">
73+
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="1.0.0-beta.19421.1">
7474
<Uri>https://github.com/dotnet/arcade</Uri>
75-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
75+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
7676
</Dependency>
77-
<Dependency Name="Microsoft.DotNet.CoreFxTesting" Version="1.0.0-beta.19412.7">
77+
<Dependency Name="Microsoft.DotNet.CoreFxTesting" Version="1.0.0-beta.19421.1">
7878
<Uri>https://github.com/dotnet/arcade</Uri>
79-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
79+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
8080
</Dependency>
81-
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="1.0.0-beta.19412.7">
81+
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="1.0.0-beta.19421.1">
8282
<Uri>https://github.com/dotnet/arcade</Uri>
83-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
83+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
8484
</Dependency>
85-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Configuration" Version="1.0.0-beta.19412.7">
85+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Configuration" Version="1.0.0-beta.19421.1">
8686
<Uri>https://github.com/dotnet/arcade</Uri>
87-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
87+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
8888
</Dependency>
89-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="2.2.0-beta.19412.7">
89+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="2.2.0-beta.19421.1">
9090
<Uri>https://github.com/dotnet/arcade</Uri>
91-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
91+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
9292
</Dependency>
93-
<Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="1.0.0-beta.19412.7">
93+
<Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="1.0.0-beta.19421.1">
9494
<Uri>https://github.com/dotnet/arcade</Uri>
95-
<Sha>82c822ee7db08f5347e6ac44e3ed465248394a9e</Sha>
95+
<Sha>7aa107d818fe87e627154c0331d6de5d47f39a45</Sha>
9696
</Dependency>
9797
<Dependency Name="optimization.windows_nt-x64.IBC.CoreFx" Version="99.99.99-master-20190807.1">
9898
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>

eng/Versions.props

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
</PropertyGroup>
3030
<PropertyGroup>
3131
<!-- Arcade dependencies -->
32-
<MicrosoftDotNetApiCompatPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetApiCompatPackageVersion>
33-
<MicrosoftDotNetCodeAnalysisPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetCodeAnalysisPackageVersion>
34-
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetGenAPIPackageVersion>
35-
<MicrosoftDotNetGenFacadesPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetGenFacadesPackageVersion>
36-
<MicrosoftDotNetXUnitExtensionsPackageVersion>2.4.1-beta.19412.7</MicrosoftDotNetXUnitExtensionsPackageVersion>
37-
<MicrosoftDotNetXUnitConsoleRunnerPackageVersion>2.5.1-beta.19412.7</MicrosoftDotNetXUnitConsoleRunnerPackageVersion>
38-
<MicrosoftDotNetBuildTasksPackagingPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetBuildTasksPackagingPackageVersion>
39-
<MicrosoftDotNetRemoteExecutorPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetRemoteExecutorPackageVersion>
40-
<MicrosoftDotNetBuildTasksFeedVersion>2.2.0-beta.19412.7</MicrosoftDotNetBuildTasksFeedVersion>
41-
<MicrosoftDotNetVersionToolsTasksPackageVersion>1.0.0-beta.19412.7</MicrosoftDotNetVersionToolsTasksPackageVersion>
32+
<MicrosoftDotNetApiCompatPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetApiCompatPackageVersion>
33+
<MicrosoftDotNetCodeAnalysisPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetCodeAnalysisPackageVersion>
34+
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetGenAPIPackageVersion>
35+
<MicrosoftDotNetGenFacadesPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetGenFacadesPackageVersion>
36+
<MicrosoftDotNetXUnitExtensionsPackageVersion>2.4.1-beta.19421.1</MicrosoftDotNetXUnitExtensionsPackageVersion>
37+
<MicrosoftDotNetXUnitConsoleRunnerPackageVersion>2.5.1-beta.19421.1</MicrosoftDotNetXUnitConsoleRunnerPackageVersion>
38+
<MicrosoftDotNetBuildTasksPackagingPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetBuildTasksPackagingPackageVersion>
39+
<MicrosoftDotNetRemoteExecutorPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetRemoteExecutorPackageVersion>
40+
<MicrosoftDotNetBuildTasksFeedVersion>2.2.0-beta.19421.1</MicrosoftDotNetBuildTasksFeedVersion>
41+
<MicrosoftDotNetVersionToolsTasksPackageVersion>1.0.0-beta.19421.1</MicrosoftDotNetVersionToolsTasksPackageVersion>
4242
<!-- roslyn -->
4343
<MicrosoftNetCompilersToolsetVersion>3.3.0-beta2-19367-02</MicrosoftNetCompilersToolsetVersion>
4444
<!-- Core-setup dependencies -->

eng/common/performance/performance-setup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Param(
22
[string] $SourceDirectory=$env:BUILD_SOURCESDIRECTORY,
33
[string] $CoreRootDirectory,
44
[string] $Architecture="x64",
5-
[string] $Framework="netcoreapp3.0",
5+
[string] $Framework="netcoreapp5.0",
66
[string] $CompilationMode="Tiered",
77
[string] $Repository=$env:BUILD_REPOSITORY_NAME,
88
[string] $Branch=$env:BUILD_SOURCEBRANCH,

eng/common/performance/performance-setup.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
source_directory=$BUILD_SOURCESDIRECTORY
44
core_root_directory=
55
architecture=x64
6-
framework=netcoreapp3.0
6+
framework=netcoreapp5.0
77
compilation_mode=tiered
88
repository=$BUILD_REPOSITORY_NAME
99
branch=$BUILD_SOURCEBRANCH
@@ -156,6 +156,11 @@ if [[ "$use_core_run" = true ]]; then
156156
mv $core_root_directory $new_core_root
157157
fi
158158

159+
ci=true
160+
161+
_script_dir=$(pwd)/eng/common
162+
. "$_script_dir/pipeline-logging-functions.sh"
163+
159164
# Make sure all of our variables are available for future steps
160165
Write-PipelineSetVariable -name "UseCoreRun" -value "$use_core_run" -is_multi_job_variable false
161166
Write-PipelineSetVariable -name "Architecture" -value "$architecture" -is_multi_job_variable false

eng/common/post-build/darc-gather-drop.ps1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,17 @@ try {
1919
ExitWithExitCode $exitCode
2020
}
2121

22+
# For now, only use a dry run.
23+
# Ideally we would change darc to enable a quick request that
24+
# would check whether the file exists that you can download it,
25+
# and that it won't conflict with other files.
26+
# https://github.com/dotnet/arcade/issues/3674
27+
# Right now we can't remove continue-on-error because we ocassionally will have
28+
# dependencies that have no associated builds (e.g. an old dependency).
29+
# We need to add an option to baseline specific dependencies away, or add them manually
30+
# to the BAR.
2231
darc gather-drop --non-shipping `
32+
--dry-run `
2333
--continue-on-error `
2434
--id $BarBuildId `
2535
--output-dir $DropLocation `

eng/common/post-build/dotnetsymbol-init.ps1

Lines changed: 0 additions & 29 deletions
This file was deleted.

eng/common/post-build/sourcelink-cli-init.ps1

Lines changed: 0 additions & 29 deletions
This file was deleted.

eng/common/post-build/sourcelink-validation.ps1

Lines changed: 56 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
param(
22
[Parameter(Mandatory=$true)][string] $InputPath, # Full path to directory where Symbols.NuGet packages to be checked are stored
33
[Parameter(Mandatory=$true)][string] $ExtractPath, # Full path to directory where the packages will be extracted during validation
4-
[Parameter(Mandatory=$true)][string] $GHRepoName, # GitHub name of the repo including the Org. E.g., dotnet/arcade
5-
[Parameter(Mandatory=$true)][string] $GHCommit, # GitHub commit SHA used to build the packages
4+
[Parameter(Mandatory=$false)][string] $GHRepoName, # GitHub name of the repo including the Org. E.g., dotnet/arcade
5+
[Parameter(Mandatory=$false)][string] $GHCommit, # GitHub commit SHA used to build the packages
66
[Parameter(Mandatory=$true)][string] $SourcelinkCliVersion # Version of SourceLink CLI to use
77
)
88

@@ -13,6 +13,12 @@ param(
1313
# all files present in the repo at a specific commit point.
1414
$global:RepoFiles = @{}
1515

16+
# Maximum number of jobs to run in parallel
17+
$MaxParallelJobs = 6
18+
19+
# Wait time between check for system load
20+
$SecondsBetweenLoadChecks = 10
21+
1622
$ValidatePackage = {
1723
param(
1824
[string] $PackagePath # Full path to a Symbols.NuGet package
@@ -22,8 +28,8 @@ $ValidatePackage = {
2228

2329
# Ensure input file exist
2430
if (!(Test-Path $PackagePath)) {
25-
Write-PipelineTaskError "Input file does not exist: $PackagePath"
26-
ExitWithExitCode 1
31+
Write-Host "Input file does not exist: $PackagePath"
32+
return 1
2733
}
2834

2935
# Extensions for which we'll look for SourceLink information
@@ -38,7 +44,7 @@ $ValidatePackage = {
3844

3945
Add-Type -AssemblyName System.IO.Compression.FileSystem
4046

41-
[System.IO.Directory]::CreateDirectory($ExtractPath);
47+
[System.IO.Directory]::CreateDirectory($ExtractPath) | Out-Null
4248

4349
try {
4450
$zip = [System.IO.Compression.ZipFile]::OpenRead($PackagePath)
@@ -138,62 +144,86 @@ $ValidatePackage = {
138144

139145
if ($FailedFiles -eq 0) {
140146
Write-Host "Passed."
147+
return 0
141148
}
142149
else {
143-
Write-PipelineTaskError "$PackagePath has broken SourceLink links."
150+
Write-Host "$PackagePath has broken SourceLink links."
151+
return 1
144152
}
145153
}
146154

147155
function ValidateSourceLinkLinks {
148-
if (!($GHRepoName -Match "^[^\s\/]+/[^\s\/]+$")) {
156+
if ($GHRepoName -ne "" -and !($GHRepoName -Match "^[^\s\/]+/[^\s\/]+$")) {
149157
if (!($GHRepoName -Match "^[^\s-]+-[^\s]+$")) {
150-
Write-PipelineTaskError "GHRepoName should be in the format <org>/<repo> or <org>-<repo>"
158+
Write-PipelineTaskError "GHRepoName should be in the format <org>/<repo> or <org>-<repo>. '$GHRepoName'"
151159
ExitWithExitCode 1
152160
}
153161
else {
154162
$GHRepoName = $GHRepoName -replace '^([^\s-]+)-([^\s]+)$', '$1/$2';
155163
}
156164
}
157165

158-
if (!($GHCommit -Match "^[0-9a-fA-F]{40}$")) {
159-
Write-PipelineTaskError "GHCommit should be a 40 chars hexadecimal string"
166+
if ($GHCommit -ne "" -and !($GHCommit -Match "^[0-9a-fA-F]{40}$")) {
167+
Write-PipelineTaskError "GHCommit should be a 40 chars hexadecimal string. '$GHCommit'"
160168
ExitWithExitCode 1
161169
}
162170

163-
$RepoTreeURL = -Join("http://api.github.com/repos/", $GHRepoName, "/git/trees/", $GHCommit, "?recursive=1")
164-
$CodeExtensions = @(".cs", ".vb", ".fs", ".fsi", ".fsx", ".fsscript")
171+
if ($GHRepoName -ne "" -and $GHCommit -ne "") {
172+
$RepoTreeURL = -Join("http://api.github.com/repos/", $GHRepoName, "/git/trees/", $GHCommit, "?recursive=1")
173+
$CodeExtensions = @(".cs", ".vb", ".fs", ".fsi", ".fsx", ".fsscript")
165174

166-
try {
167-
# Retrieve the list of files in the repo at that particular commit point and store them in the RepoFiles hash
168-
$Data = Invoke-WebRequest $RepoTreeURL -UseBasicParsing | ConvertFrom-Json | Select-Object -ExpandProperty tree
175+
try {
176+
# Retrieve the list of files in the repo at that particular commit point and store them in the RepoFiles hash
177+
$Data = Invoke-WebRequest $RepoTreeURL -UseBasicParsing | ConvertFrom-Json | Select-Object -ExpandProperty tree
169178

170-
foreach ($file in $Data) {
171-
$Extension = [System.IO.Path]::GetExtension($file.path)
179+
foreach ($file in $Data) {
180+
$Extension = [System.IO.Path]::GetExtension($file.path)
172181

173-
if ($CodeExtensions.Contains($Extension)) {
174-
$RepoFiles[$file.path] = 1
182+
if ($CodeExtensions.Contains($Extension)) {
183+
$RepoFiles[$file.path] = 1
184+
}
175185
}
176186
}
187+
catch {
188+
Write-Host "Problems downloading the list of files from the repo. Url used: $RepoTreeURL . Execution will proceed without caching."
189+
}
177190
}
178-
catch {
179-
Write-PipelineTaskError "Problems downloading the list of files from the repo. Url used: $RepoTreeURL"
180-
Write-Host $_
181-
ExitWithExitCode 1
191+
elseif ($GHRepoName -ne "" -or $GHCommit -ne "") {
192+
Write-Host "For using the http caching mechanism both GHRepoName and GHCommit should be informed."
182193
}
183194

184195
if (Test-Path $ExtractPath) {
185196
Remove-Item $ExtractPath -Force -Recurse -ErrorAction SilentlyContinue
186197
}
187198

188199
# Process each NuGet package in parallel
189-
$Jobs = @()
190200
Get-ChildItem "$InputPath\*.symbols.nupkg" |
191201
ForEach-Object {
192-
$Jobs += Start-Job -ScriptBlock $ValidatePackage -ArgumentList $_.FullName
202+
Start-Job -ScriptBlock $ValidatePackage -ArgumentList $_.FullName | Out-Null
203+
$NumJobs = @(Get-Job -State 'Running').Count
204+
205+
while ($NumJobs -ge $MaxParallelJobs) {
206+
Write-Host "There are $NumJobs validation jobs running right now. Waiting $SecondsBetweenLoadChecks seconds to check again."
207+
sleep $SecondsBetweenLoadChecks
208+
$NumJobs = @(Get-Job -State 'Running').Count
209+
}
210+
211+
foreach ($Job in @(Get-Job -State 'Completed')) {
212+
Receive-Job -Id $Job.Id
213+
Remove-Job -Id $Job.Id
214+
}
193215
}
194216

217+
$ValidationFailures = 0
195218
foreach ($Job in $Jobs) {
196-
Wait-Job -Id $Job.Id | Receive-Job
219+
$jobResult = Wait-Job -Id $Job.Id | Receive-Job
220+
if ($jobResult -ne "0") {
221+
$ValidationFailures++
222+
}
223+
}
224+
if ($ValidationFailures -gt 0) {
225+
Write-PipelineTaskError " $ValidationFailures package(s) failed validation."
226+
ExitWithExitCode 1
197227
}
198228
}
199229

eng/common/sdl/execute-all-sdl-tools.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ if ($TsaPublish) {
8686
if (-not $TsaRepositoryName) {
8787
$TsaRepositoryName = "$($Repository)-$($BranchName)"
8888
}
89-
Write-Host "$guardianCliLocation tsa-publish --all-tools --repository-name `"$TsaRepositoryName`" --branch-name `"$TsaBranchName`" --build-number `"$BuildNumber`" --codebase-name `"$TsaCodebaseName`" --notification-alias `"$TsaNotificationEmail`" --codebase-admin `"$TsaCodebaseAdmin`" --instance-url `"$TsaInstanceUrl`" --project-name `"$TsaProjectName`" --area-path `"$TsaBugAreaPath`" --iteration-path `"$TsaIterationPath`" --working-directory $SourceDirectory --logger-level $GuardianLoggerLevel"
90-
& $guardianCliLocation tsa-publish --all-tools --repository-name "$TsaRepositoryName" --branch-name "$TsaBranchName" --build-number "$BuildNumber" --codebase-name "$TsaCodebaseName" --notification-alias "$TsaNotificationEmail" --codebase-admin "$TsaCodebaseAdmin" --instance-url "$TsaInstanceUrl" --project-name "$TsaProjectName" --area-path "$TsaBugAreaPath" --iteration-path "$TsaIterationPath" --working-directory $ArtifactsDirectory --logger-level $GuardianLoggerLevel
89+
Write-Host "$guardianCliLocation tsa-publish --all-tools --repository-name `"$TsaRepositoryName`" --branch-name `"$TsaBranchName`" --build-number `"$BuildNumber`" --codebase-name `"$TsaCodebaseName`" --notification-alias `"$TsaNotificationEmail`" --codebase-admin `"$TsaCodebaseAdmin`" --instance-url `"$TsaInstanceUrl`" --project-name `"$TsaProjectName`" --area-path `"$TsaBugAreaPath`" --iteration-path `"$TsaIterationPath`" --working-directory $ArtifactsDirectory --logger-level $GuardianLoggerLevel"
90+
& $guardianCliLocation tsa-publish --all-tools --repository-name "$TsaRepositoryName" --branch-name "$TsaBranchName" --build-number "$BuildNumber" --onboard $True --codebase-name "$TsaCodebaseName" --notification-alias "$TsaNotificationEmail" --codebase-admin "$TsaCodebaseAdmin" --instance-url "$TsaInstanceUrl" --project-name "$TsaProjectName" --area-path "$TsaBugAreaPath" --iteration-path "$TsaIterationPath" --working-directory $ArtifactsDirectory --logger-level $GuardianLoggerLevel
9191
if ($LASTEXITCODE -ne 0) {
9292
Write-Host "Guardian tsa-publish failed with exit code $LASTEXITCODE."
9393
exit $LASTEXITCODE

0 commit comments

Comments
 (0)