Skip to content

Commit 249be69

Browse files
committed
Added additional logging
1 parent a67533c commit 249be69

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.cake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,10 @@ Task("Run-NUnit-Tests")
104104
"src/GitVersionExe.Tests/bin/" + configuration + "/GitVersionExe.Tests.dll",
105105
"src/GitVersionTask.Tests/bin/" + configuration + "/GitVersionTask.Tests.dll" },
106106
settings);
107-
if (BuildSystem.AppVeyor.IsRunningOnAppVeyor)
107+
if (AppVeyor.IsRunningOnAppVeyor)
108108
{
109-
BuildSystem.AppVeyor.UploadTestResults("TestResult.xml", AppVeyorTestResultsType.NUnit3);
109+
Information("Uploading test results");
110+
AppVeyor.UploadTestResults("TestResult.xml", AppVeyorTestResultsType.NUnit3);
110111
}
111112
});
112113

@@ -136,7 +137,7 @@ Task("Package")
136137

137138
Task("Upload-AppVeyor-Artifacts")
138139
.IsDependentOn("Package")
139-
.WithCriteria(() => BuildSystem.AppVeyor.IsRunningOnAppVeyor)
140+
.WithCriteria(() => AppVeyor.IsRunningOnAppVeyor)
140141
.Does(() =>
141142
{
142143
var gem = string.IsNullOrEmpty(preReleaseTag) ?

0 commit comments

Comments
 (0)