Browse Source

fix IsRunningOnAzure

pull/1992/head
Dan Walmsley 8 years ago
parent
commit
616eff2c08
  1. 2
      parameters.cake

2
parameters.cake

@ -54,7 +54,7 @@ public class Parameters
IsRunningOnUnix = context.IsRunningOnUnix();
IsRunningOnWindows = context.IsRunningOnWindows();
IsRunningOnAppVeyor = buildSystem.AppVeyor.IsRunningOnAppVeyor;
IsRunningOnAzure = buildSystem.IsRunningOnTFS;
IsRunningOnAzure = buildSystem.IsRunningOnVSTS;
IsPullRequest = buildSystem.AppVeyor.Environment.PullRequest.IsPullRequest;
IsMainRepo = StringComparer.OrdinalIgnoreCase.Equals(MainRepo, buildSystem.AppVeyor.Environment.Repository.Name);

Loading…
Cancel
Save