From ef51bd0a4251ba3f538aea555843cd7aba8d8390 Mon Sep 17 00:00:00 2001 From: "NVENTIVE\\vincent.castagna" Date: Thu, 5 Jan 2023 16:23:41 -0500 Subject: [PATCH] feat: enable deterministic build --- build/stage-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/stage-build.yml b/build/stage-build.yml index 5933f61..86eb9f3 100644 --- a/build/stage-build.yml +++ b/build/stage-build.yml @@ -47,8 +47,10 @@ restoreNugetPackages: false logProjectEvents: false createLogFile: false - msbuildArguments: /p:PackageVersion=$(GitVersion.SemVer) # Set the version of the packages, will have no effect on application projects (Heads). - + msbuildArguments: > # Set the version of the packages, will have no effect on application projects (Heads). + /p:PackageVersion=$(GitVersion.SemVer) + /p:ContinousIntegrationBuild=true + - script: dotnet test --no-build --configuration $(ApplicationConfiguration) --logger trx --collect "Code coverage" displayName: 'Run tests' condition: and(succeeded(), eq(variables['ApplicationPlatform'], 'NuGet'))