Skip to content

Commit

Permalink
Update require_telemetry_exclude_files
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung committed Aug 7, 2023
1 parent 3c4d8eb commit 1738bd0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eng/configure-toolset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ function Test-FilesUseTelemetryOutput {
'eng/common/build.sh'
'eng/common/cibuild.sh'
'eng/common/native/init-compiler.sh'
'eng/common/native/init-distro-rid.sh'
'eng/common/native/init-os-and-arch.sh'
'eng/common/cross/tizen-build-rootfs.sh'
'eng/common/cross/tizen-fetch.sh'
'eng/common/cross/build-android-rootfs.sh'
Expand All @@ -23,7 +25,7 @@ function Test-FilesUseTelemetryOutput {
done
done

if [[ -n "${file_list//[[:space:]]/}" ]]; then
if [[ -n "${file_list//[[:space:]]/}" ]]; then
Write-PipelineTelemetryError -force -category 'Build' 'One or more eng/common scripts do not use telemetry categorization.'
echo "https://github.com/dotnet/arcade/blob/master/Documentation/Projects/DevOps/CI/Telemetry-Guidance.md"
echo "The following bash files do not include telemetry categorization output:"
Expand Down

0 comments on commit 1738bd0

Please sign in to comment.