archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osIdentifier: ${{ parameters.osIdentifier }}
+ helixType: 'build/product/'
enableMicrobuild: true
# Compute job name from template parameters
# Variables used by arcade to gather asset manifests
- name: _DotNetPublishToBlobFeed
value: true
- - name: _BuildConfig
- value: $(buildConfigUpper)
- name: officialBuildIdArg
value: ''
- name: ibcOptimizeArg
# Optional: enable sending telemetry
enableTelemetry: false
- # Optional: define the helix repo for telemeetry (example: 'dotnet/arcade')
+ # Optional: define the helix repo for telemetry (example: 'dotnet/arcade')
helixRepo: ''
+ # Optional: define the helix type for telemetry (example: 'build/product/')
+ helixType: ''
+
# Required: name of the job
name: ''
displayName: 'Send Helix Start Telemetry'
inputs:
helixRepo: ${{ parameters.helixRepo }}
+ ${{ if ne(parameters.helixType, '') }}:
+ helixType: ${{ parameters.helixType }}
buildConfig: $(_BuildConfig)
runAsPublic: ${{ parameters.runAsPublic }}
continueOnError: ${{ parameters.continueOnError }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osIdentifier: ${{ parameters.osIdentifier }}
+ helixType: 'build/tests/'
# Compute job name from template parameters
${{ if and(eq(parameters.testGroup, 'innerloop'), eq(parameters.readyToRun, false)) }}:
# Build tests
- # TODO: enable crossgen in build-test.sh
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
- script: ./build-test.sh $(buildConfig) $(archType) $(crossArg) $(priorityArg) $(crossgenArg) $(clangArg)
displayName: Build tests
creator: $(Build.DefinitionName)
helixBuild: $(Build.BuildNumber)
-
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- helixSource: official/dotnet/coreclr/$(Build.SourceBranch)
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
- helixSource: pr/dotnet/coreclr/$(Build.SourceBranch)
- ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- helixSource: ci/dotnet/coreclr/$(Build.SourceBranch)
+ helixSource: $(_HelixSource)
${{ if eq(parameters.readyToRun, false) }}:
helixType: 'test/functional/cli/'
osIdentifier: ''
name: ''
displayName: ''
+ helixType: '(unspecified)'
condition: ''
dependsOn: ''
containerName: ''
dependsOn: ${{ parameters.dependsOn }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
- # Send telemetry for official builds
- enableTelemetry: ${{ and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}
+ # Send telemetry for all builds
+ enableTelemetry: true
helixRepo: 'dotnet/coreclr'
+ helixType: ${{ parameters.helixType }}
enableMicrobuild: ${{ parameters.enableMicrobuild }}
- name: buildConfigUpper
value: 'Release'
+ - name: _BuildConfig
+ value: $(buildConfigUpper)
+
- name: archType
value: ${{ parameters.archType }}
- name: osIdentifier
value: ${{ parameters.osIdentifier }}
+ - ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
+ - name: _HelixSource
+ value: official/dotnet/coreclr/$(Build.SourceBranch)
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
+ - name: _HelixSource
+ value: pr/dotnet/coreclr/$(Build.SourceBranch)
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:
+ - name: _HelixSource
+ value: ci/dotnet/coreclr/$(Build.SourceBranch)
+
- ${{ if ne(parameters.crossrootfsDir, '') }}:
- name: crossArg
value: 'cross'