From 86942861c225c3fee3484aa40d9e3d40bb2a7fec Mon Sep 17 00:00:00 2001 From: mmsmits Date: Mon, 27 Nov 2023 11:52:41 +0100 Subject: [PATCH] re-added /p:ContinuousIntegrationBuild=true --- build/templates/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/templates/build.yml b/build/templates/build.yml index 27c7d20..9f7138c 100644 --- a/build/templates/build.yml +++ b/build/templates/build.yml @@ -82,19 +82,19 @@ jobs: nuGetServiceConnections: ${{ parameters.nuGetServiceConnections }} nuGetSources: ${{ parameters.nuGetSources }} - - script: dotnet build --configuration $(buildConfiguration) --version-suffix $(VersionSuffix) --no-restore + - script: dotnet build --configuration $(buildConfiguration) /p:ContinuousIntegrationBuild=true --version-suffix $(VersionSuffix) --no-restore displayName: 'dotnet build $(buildConfiguration) with no restore' condition: and(succeeded(), and(eq('${{ parameters.restoreDependencies }}', 'true'), eq(variables.UseVersionSuffix, 'false'))) - - script: dotnet build --configuration $(buildConfiguration) --version-suffix $(VersionSuffix) + - script: dotnet build --configuration $(buildConfiguration) /p:ContinuousIntegrationBuild=true --version-suffix $(VersionSuffix) displayName: 'dotnet build $(buildConfiguration)' condition: and(succeeded(), and(eq('${{ parameters.restoreDependencies }}', 'false'), eq(variables.UseVersionSuffix, 'false'))) - - script: dotnet build --configuration $(buildConfiguration) --version-suffix $(VersionSuffix) --no-restore + - script: dotnet build --configuration $(buildConfiguration) /p:ContinuousIntegrationBuild=true --version-suffix $(VersionSuffix) --no-restore displayName: 'dotnet build $(buildConfiguration) with version suffix and with no restore' condition: and(succeeded(), and(eq('${{ parameters.restoreDependencies }}', 'true'), eq(variables.UseVersionSuffix, 'true'))) - - script: dotnet build --configuration $(buildConfiguration) --version-suffix $(VersionSuffix) + - script: dotnet build --configuration $(buildConfiguration) /p:ContinuousIntegrationBuild=true --version-suffix $(VersionSuffix) displayName: 'dotnet build $(buildConfiguration) with version suffix' condition: and(succeeded(), and(eq('${{ parameters.restoreDependencies }}', 'false'), eq(variables.UseVersionSuffix, 'true')))