|
16 | 16 | <TestRunNamePrefix>$(AGENT_JOBNAME)</TestRunNamePrefix>
|
17 | 17 | <EnableXUnitReporter>true</EnableXUnitReporter>
|
18 | 18 | </PropertyGroup>
|
19 |
| - |
20 |
| - <!--<PropertyGroup> |
21 |
| - <RunWithCoreWCFService Condition="'$(RunWithCoreWCFService)' == ''">false</RunWithCoreWCFService> |
22 |
| - </PropertyGroup>--> |
23 | 19 |
|
24 | 20 | <Target Name="InstallDotNet">
|
25 | 21 | <ItemGroup>
|
|
75 | 71 | </PropertyGroup>
|
76 | 72 |
|
77 | 73 | <PropertyGroup>
|
78 |
| - <RunWithCoreWcfService>true</RunWithCoreWcfService> |
| 74 | + <RunWithCoreWCFService Condition="'$(RunWithCoreWCFService)' == ''">false</RunWithCoreWCFService> |
79 | 75 | </PropertyGroup>
|
80 |
| - |
81 |
| - <PropertyGroup Condition="'$(RunWithCoreWcfService)' == 'false' And '$(TestJob)' != 'Windows'" > |
| 76 | + |
| 77 | + <PropertyGroup Condition="'$(RunWithCoreWcfService)' == 'false' AND '$(TestJob)' != 'Windows'" > |
82 | 78 | <HelixPreCommands>$(HelixPreCommands);chmod a+x $HELIX_CORRELATION_PAYLOAD/InstallRootCertificate.sh</HelixPreCommands>
|
83 | 79 | <HelixPreCommands>$(HelixPreCommands);sudo -E -n $HELIX_CORRELATION_PAYLOAD/InstallRootCertificate.sh --service-host $(ServiceHost) --cert-file /tmp/wcfrootca.crt</HelixPreCommands>
|
84 | 80 | </PropertyGroup>
|
85 | 81 |
|
86 |
| - <PropertyGroup Condition="'$(TestJob)' == 'Windows'"> |
| 82 | + <PropertyGroup Condition="'$(RunWithCoreWcfService)' == 'true' AND '$(TestJob)' == 'Windows'"> |
87 | 83 | <HelixPreCommands>$(HelixPreCommands);set PATH=%HELIX_CORRELATION_PAYLOAD%\dotnet-cli%3B%PATH%</HelixPreCommands>
|
88 | 84 | <!-- %3B is an escaped ; -->
|
89 | 85 | <HelixPreCommands>$(HelixPreCommands);set DOTNET_ROOT=%HELIX_CORRELATION_PAYLOAD%\dotnet-cli;set DOTNET_CLI_TELEMETRY_OPTOUT=1</HelixPreCommands>
|
|
93 | 89 | <HelixPreCommands>$(HelixPreCommands);%HELIX_CORRELATION_PAYLOAD%\SelfHostedCoreWCFService\$(Configuration)\net8.0\SelfHostedCoreWCFService bootstrap:true</HelixPreCommands>
|
94 | 90 | </PropertyGroup>
|
95 | 91 |
|
96 |
| - <PropertyGroup Condition="'$(TestJob)' != 'Windows'"> |
| 92 | + <PropertyGroup Condition="'$(RunWithCoreWcfService)' == 'true' AND '$(TestJob)' != 'Windows'"> |
97 | 93 | <HelixPreCommands>$(HelixPreCommands);export PATH=$HELIX_CORRELATION_PAYLOAD/dotnet-cli:$PATH</HelixPreCommands>
|
98 | 94 | <HelixPreCommands>$(HelixPreCommands);export DOTNET_ROOT=$HELIX_CORRELATION_PAYLOAD/dotnet-cli;export DOTNET_CLI_TELEMETRY_OPTOUT=1</HelixPreCommands>
|
99 | 95 | <HelixPreCommands>$(HelixPreCommands);export DOTNET_CLI_HOME=$HELIX_WORKITEM_ROOT/.dotnet</HelixPreCommands>
|
|
0 commit comments