From baa2541db34c09e14b962ed275bdb11b28be4269 Mon Sep 17 00:00:00 2001 From: costin-zaharia-sonarsource Date: Thu, 24 Oct 2024 17:10:18 +0200 Subject: [PATCH] Use the correct environment variable name --- src/SonarScanner.MSBuild.Common/TFS/BuildSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SonarScanner.MSBuild.Common/TFS/BuildSettings.cs b/src/SonarScanner.MSBuild.Common/TFS/BuildSettings.cs index 67f55fa6a..7d876edcf 100644 --- a/src/SonarScanner.MSBuild.Common/TFS/BuildSettings.cs +++ b/src/SonarScanner.MSBuild.Common/TFS/BuildSettings.cs @@ -234,7 +234,7 @@ public static class EnvironmentVariables /// public const string LegacyCodeCoverageTimeoutInMs = "SQ_LegacyCodeCoverageInMs"; - public const string IsInTeamFoundationBuild = "TF_Build"; // Common to legacy and non-legacy TeamBuilds + public const string IsInTeamFoundationBuild = "TF_BUILD"; // Common to legacy and non-legacy TeamBuilds // Legacy TeamBuild environment variables (XAML Builds) public const string TfsCollectionUri_Legacy = "TF_BUILD_COLLECTIONURI";