Skip to content

Commit a61c6f8

Browse files
authored
[browser] Add Helix Job Name for Wasm.Build.Tests jobs (#120536)
1 parent e846322 commit a61c6f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/libraries/sendtohelixhelp.proj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
<ItemGroup>
174174
<HelixProperties Condition="'$(RuntimeFlavor)' != ''" Include="runtimeFlavor" Value="$(RuntimeFlavor)" />
175175
<HelixProperties Condition="'$(Scenario)' != ''" Include="scenario" Value="$(Scenario)" />
176+
<HelixProperties Condition="'$(WorkItemPrefix)' != ''" Include="jobName" Value="$(WorkItemPrefix.TrimEnd('-'))" />
176177
</ItemGroup>
177178

178179
<!-- Ensure that all HelixPreCommand items are ready before this -->
@@ -343,6 +344,12 @@
343344
<Message Importance="High" Text="Build TargetFramework: $(BuildTargetFramework)" />
344345
</Target>
345346

347+
<Target Name="SetHelixJobName" BeforeTargets="CoreTest">
348+
<PropertyGroup>
349+
<HelixJobName Condition="'$(WorkItemPrefix)' != ''">$(WorkItemPrefix.TrimEnd('-'))</HelixJobName>
350+
</PropertyGroup>
351+
</Target>
352+
346353
<!--
347354
Helix tasks will attempt to write a .payload file to the payload directory. But if the
348355
directory is not writable, for example when it is a system installed dependency like

0 commit comments

Comments
 (0)