From aec17eef6ac7d6d1c18e9213924eb96780d63876 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 25 Oct 2018 10:31:02 +0100 Subject: [PATCH] fix detection of azure --- parameters.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parameters.cake b/parameters.cake index c4ab4adb5c..58a7561985 100644 --- a/parameters.cake +++ b/parameters.cake @@ -54,7 +54,7 @@ public class Parameters IsRunningOnUnix = context.IsRunningOnUnix(); IsRunningOnWindows = context.IsRunningOnWindows(); IsRunningOnAppVeyor = buildSystem.AppVeyor.IsRunningOnAppVeyor; - IsRunningOnAzure = buildSystem.IsRunningOnVSTS; + IsRunningOnAzure = buildSystem.IsRunningOnVSTS || buildSystem.IsRunningOnTFS; IsPullRequest = buildSystem.AppVeyor.Environment.PullRequest.IsPullRequest; IsMainRepo = StringComparer.OrdinalIgnoreCase.Equals(MainRepo, buildSystem.AppVeyor.Environment.Repository.Name);