Skip to content

Conversation

@am11
Copy link
Member

@am11 am11 commented Dec 14, 2025

Currently, we only capture binlog files in Publish Logs step. PR adds CMakeConfigureLog.yaml to helps figuring out the result of introspection.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Dec 14, 2025
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Dec 14, 2025
@am11 am11 added area-Infrastructure-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Dec 14, 2025
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

@am11
Copy link
Member Author

am11 commented Dec 14, 2025

image

cc @jkoritzinsky, @janvorli those .yaml files are new in logs artifacts.

@jkoritzinsky
Copy link
Member

We're getting AzDO errors emitted whenever the artifacts/obj folder doesn't exist. Can you adjust this to only execute the copy if the artifacts/obj folder exists?

Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed that these changes are in eng/common. Can we move them into the global-build-job template? If we do that, then we can probably go back to CopyFiles as we'll nearly always build something native.

Comment on lines 215 to 228
- task: PythonScript@0
displayName: Gather CMakeConfigureLog for publish to artifacts
inputs:
scriptSource: inline
script: |
import os, shutil, glob
if os.path.isdir('artifacts/obj'):
dest = '$(Build.ArtifactStagingDirectory)/artifacts/log/cmake'
os.makedirs(dest, exist_ok=True)
for f in glob.glob('artifacts/obj/**/CMakeConfigureLog.yaml', recursive=True):
shutil.copy(f, dest)
continueOnError: true
condition: always()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do this with a powershell/bash script?

am11 added 3 commits December 16, 2025 22:00
Removed Python script task that gathers CMakeConfigureLog for artifacts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants