File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public class BuildParameters
65
65
var target = context . Argument ( "target" , "Default" ) ;
66
66
var buildSystem = context . BuildSystem ( ) ;
67
67
68
- var dockerCliPlatform = ( buildSystem . IsRunningOnAzurePipelinesHosted
68
+ var dockerCliPlatform = ( ( buildSystem . IsRunningOnAzurePipelines || buildSystem . IsRunningOnAzurePipelinesHosted )
69
69
&& context . Environment . Platform . Family != PlatformFamily . OSX )
70
70
|| buildSystem . IsLocalBuild
71
71
? GetDockerCliPlatform ( context ) : "" ;
@@ -182,7 +182,7 @@ public class BuildParameters
182
182
{
183
183
repositoryName = buildSystem . TravisCI . Environment . Repository . Slug ;
184
184
}
185
- else if ( buildSystem . IsRunningOnAzurePipelinesHosted )
185
+ else if ( buildSystem . IsRunningOnAzurePipelines || buildSystem . IsRunningOnAzurePipelinesHosted )
186
186
{
187
187
repositoryName = buildSystem . TFBuild . Environment . Repository . RepoName ;
188
188
}
@@ -204,7 +204,7 @@ public class BuildParameters
204
204
{
205
205
repositoryBranch = buildSystem . TravisCI . Environment . Build . Branch ;
206
206
}
207
- else if ( buildSystem . IsRunningOnAzurePipelinesHosted )
207
+ else if ( buildSystem . IsRunningOnAzurePipelines || buildSystem . IsRunningOnAzurePipelinesHosted )
208
208
{
209
209
repositoryBranch = buildSystem . TFBuild . Environment . Repository . Branch ;
210
210
}
You can’t perform that action at this time.
0 commit comments