File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3
3
"isRoot" : true ,
4
4
"tools" : {
5
5
"cake.tool" : {
6
- "version" : " 0.37.0 " ,
6
+ "version" : " 0.38.5 " ,
7
7
"commands" : [
8
8
" dotnet-cake"
9
9
]
Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ Task("UnitTest")
73
73
if ( parameters . IsRunningOnAzurePipeline )
74
74
{
75
75
if ( testResultsFiles . Any ( ) ) {
76
- var data = new TFBuildPublishTestResultsData {
76
+ var data = new AzurePipelinesPublishTestResultsData {
77
77
TestResultsFiles = testResultsFiles . ToArray ( ) ,
78
78
Platform = Context . Environment . Platform . Family . ToString ( ) ,
79
- TestRunner = TFTestRunnerType . NUnit
79
+ TestRunner = AzurePipelinesTestRunnerType . NUnit
80
80
} ;
81
- TFBuild . Commands . PublishTestResults ( data ) ;
81
+ AzurePipelines . Commands . PublishTestResults ( data ) ;
82
82
}
83
83
}
84
84
} ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public static bool IsOnMainRepo(this ICakeContext context)
23
23
}
24
24
else if ( buildSystem . IsRunningOnAzurePipelines || buildSystem . IsRunningOnAzurePipelinesHosted )
25
25
{
26
- repositoryName = buildSystem . TFBuild . Environment . Repository . RepoName ;
26
+ repositoryName = buildSystem . AzurePipelines . Environment . Repository . RepoName ;
27
27
}
28
28
else if ( buildSystem . IsRunningOnGitHubActions )
29
29
{
@@ -49,7 +49,7 @@ public static bool IsOnMainBranch(this ICakeContext context)
49
49
}
50
50
else if ( buildSystem . IsRunningOnAzurePipelines || buildSystem . IsRunningOnAzurePipelinesHosted )
51
51
{
52
- repositoryBranch = buildSystem . TFBuild . Environment . Repository . SourceBranchName ;
52
+ repositoryBranch = buildSystem . AzurePipelines . Environment . Repository . SourceBranchName ;
53
53
}
54
54
else if ( buildSystem . IsRunningOnGitHubActions )
55
55
{
You can’t perform that action at this time.
0 commit comments