Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive drop folder and dont publish Symbol Folder #1472

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions eng/pipelines/steps/CopyAndPublishSymbols.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ steps:
- template: ../tasks/CopyFiles.yml
parameters:
displayName: 'Collect build symbols'
SourceFolder: '$(Build.SourcesDirectory)'
Contents: '$(Build.SourcesDirectory)\bin\**\*.+(pdb|exe|dll)'
SourceFolder: '$(Build.StagingDirectory)\drop'
Contents: '$(Build.StagingDirectory)\drop\**\*.+(pdb|exe|dll)'
TargetFolder: '$(Build.ArtifactStagingDirectory)/symbols'
CleanTargetFolder: true

Expand All @@ -19,16 +19,9 @@ steps:
SymbolsFeatureName: MIEngine
SymbolsProject: VS
SymbolsAgentPath: '$(Build.ArtifactStagingDirectory)\Symbols\'
ExcludeAgentFolders: '$(Build.ArtifactStagingDirectory)\Symbols\bin\Debug;$(Build.ArtifactStagingDirectory)\Symbols\bin\Lab.Debug'
ExcludeAgentFolders: '$(Build.ArtifactStagingDirectory)\Symbols\Debug;$(Build.ArtifactStagingDirectory)\Symbols\Lab.Debug'
${{ if parameters.OneESPT }}:
ExpirationInDays: 3650 # Expire in 10 years for release builds
${{ else }}:
ExpirationInDays: 1 # Expire in 1 day if used for testing

- template: ../tasks/1ES/PublishPipelineArtifact.yml
parameters:
displayName: 'Publish Symbols Artifact'
targetPath: '$(Build.ArtifactStagingDirectory)/symbols'
artifactName: 'Symbols'
OneESPT: ${{ parameters.OneESPT }}
...
Loading