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

Add attempt number to failed builds #28280

Merged
merged 1 commit into from
Mar 10, 2025
Merged

Add attempt number to failed builds #28280

merged 1 commit into from
Mar 10, 2025

Conversation

mattleibow
Copy link
Member

Description of Change

Builds will fail, so make sure they have an attempt number in the name

@Copilot Copilot bot review requested due to automatic review settings March 10, 2025 14:18
@mattleibow mattleibow requested a review from a team as a code owner March 10, 2025 14:18
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

PR Overview

This PR updates the artifact publishing steps in the device tests pipeline to distinguish between succeeded and failed builds by incorporating an attempt number into the failed build artifact name.

  • Updates the succeeded build publish step to only run on successful builds.
  • Adds a new publish step for failed builds that appends the System.JobAttempt value.

Reviewed Changes

File Description
eng/pipelines/common/device-tests-steps.yml Modified publish steps to handle artifacts for succeeded and failed builds separately.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

artifact: ${{ parameters.appArtifactName }}
- publish: ${{ parameters.checkoutDirectory }}/artifacts/bin
Copy link
Preview

Copilot AI Mar 10, 2025

Choose a reason for hiding this comment

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

The new publish step for failed artifacts has inconsistent indentation compared to the surrounding steps. Align its indentation with the existing publish steps to ensure correct YAML parsing.

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

@PureWeen PureWeen modified the milestones: .NET 9 SR6, .NET 9 SR5 Mar 10, 2025
@PureWeen PureWeen merged commit 254eea0 into main Mar 10, 2025
110 of 129 checks passed
@PureWeen PureWeen deleted the dev/fixes branch March 10, 2025 17:57
rmarinho pushed a commit that referenced this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants