Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'run.ps1')
-rw-r--r--run.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/run.ps1 b/run.ps1
index cab9fbe6e7..29f826e9aa 100644
--- a/run.ps1
+++ b/run.ps1
@@ -44,6 +44,9 @@ The path to the configuration file that stores values. Defaults to korebuild.jso
.PARAMETER RestoreSources
(optional) Semi-colon delimited list of additional NuGet feeds to use as part of restore.
+.PARAMETER ProductBuildId
+(optional) The product build ID for correlation with orchestrated builds.
+
.PARAMETER MSBuildArguments
Additional MSBuild arguments to be passed through.
@@ -83,6 +86,7 @@ param(
[string]$AccessTokenSuffix = $null,
[string]$RestoreSources = $null,
[string]$AssetRootUrl = $null,
+ [string]$ProductBuildId = $null,
[Parameter(ValueFromRemainingArguments = $true)]
[string[]]$MSBuildArguments
)
@@ -221,6 +225,10 @@ if ($AccessTokenSuffix) {
$MSBuildArguments += "-p:DotNetAssetRootAccessTokenSuffix=$AccessTokenSuffix"
}
+if ($ProductBuildId) {
+ $MSBuildArguments += "-p:DotNetProductBuildId=$ProductBuildId"
+}
+
# Execute
$korebuildPath = Get-KoreBuild