Use Envvar
This commit is contained in:
parent
e140658bcf
commit
24eb5e61d5
|
|
@ -14,14 +14,11 @@ jobs:
|
||||||
jobDisplayName: 'Tests: Helix'
|
jobDisplayName: 'Tests: Helix'
|
||||||
agentOs: Windows
|
agentOs: Windows
|
||||||
timeoutInMinutes: 240
|
timeoutInMinutes: 240
|
||||||
variables:
|
|
||||||
HelixBuildCounter: $[pipeline.startTime]
|
|
||||||
steps:
|
steps:
|
||||||
- script: .\build.cmd -all -ci /p:BuildNative=true /t:Helix /p:IsHelixJob=true /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\SendToHelix.binlog
|
- script: .\build.cmd -all -ci /p:BuildNative=true /t:Helix /p:IsHelixJob=true /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\SendToHelix.binlog
|
||||||
displayName: Run build.cmd helix target
|
displayName: Run build.cmd helix target
|
||||||
env:
|
env:
|
||||||
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
|
||||||
HELIX_BUILD_COUNTER: $(HelixBuildCounter)
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- name: Helix_logs
|
- name: Helix_logs
|
||||||
path: artifacts/log/
|
path: artifacts/log/
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
<PropertyGroup Condition=" '$(CI)' == 'true' ">
|
<PropertyGroup Condition=" '$(CI)' == 'true' ">
|
||||||
<HelixType>ci</HelixType>
|
<HelixType>ci</HelixType>
|
||||||
<Creator>aspnetcore</Creator>
|
<Creator>aspnetcore</Creator>
|
||||||
<HelixBuild>$(BUILD_BUILDNUMBER).$(HELIX_BUILD_COUNTER)</HelixBuild>
|
<HelixBuild>$(BUILD_BUILDNUMBER).$(SYSTEM_JOBATTEMPT)</HelixBuild>
|
||||||
<WaitForWorkItemCompletion>true</WaitForWorkItemCompletion>
|
<WaitForWorkItemCompletion>true</WaitForWorkItemCompletion>
|
||||||
<EnableAzurePipelinesReporter>true</EnableAzurePipelinesReporter>
|
<EnableAzurePipelinesReporter>true</EnableAzurePipelinesReporter>
|
||||||
<FailOnMissionControlTestFailure>true</FailOnMissionControlTestFailure>
|
<FailOnMissionControlTestFailure>true</FailOnMissionControlTestFailure>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue