You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eng/common/build.ps1
+6
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Param(
7
7
[string] $msbuildEngine=$null,
8
8
[bool] $warnAsError=$true,
9
9
[bool] $nodeReuse=$true,
10
+
[switch] $buildCheck=$false,
10
11
[switch][Alias('r')]$restore,
11
12
[switch] $deployDeps,
12
13
[switch][Alias('b')]$build,
@@ -71,6 +72,8 @@ function Print-Usage() {
71
72
Write-Host" -msbuildEngine <value> Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)."
72
73
Write-Host" -excludePrereleaseVS Set to exclude build engines in prerelease versions of Visual Studio"
73
74
Write-Host" -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
75
+
Write-Host" -nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
Copy file name to clipboardExpand all lines: eng/common/core-templates/jobs/jobs.yml
+6-2
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@ parameters:
27
27
# Optional: Publish the assets as soon as the publish to BAR stage is complete, rather doing so in a separate stage.
28
28
publishAssetsImmediately: false
29
29
30
+
# Optional: 🌤️ or not the build has assets it wants to publish to BAR
31
+
isAssetlessBuild: false
32
+
30
33
# Optional: If using publishAssetsImmediately and additional parameters are needed, can be used to send along additional parameters (normally sent to post-build.yml)
31
34
artifactsPublishingAdditionalParameters: ''
32
35
signingValidationAdditionalParameters: ''
@@ -93,7 +96,7 @@ jobs:
93
96
${{ parameter.key }}: ${{ parameter.value }}
94
97
95
98
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
96
-
- ${{ if or(eq(parameters.enablePublishBuildAssets, true), eq(parameters.artifacts.publish.manifests, 'true'), ne(parameters.artifacts.publish.manifests, '')) }}:
0 commit comments