Skip to content

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Apr 24, 2025

This pull request introduces changes to Azure Pipelines configuration files to add support for the continueOnError parameter in specific jobs. The changes ensure better control over job execution behavior when errors occur, allowing for conditional continuation based on the parameter.

Changes to Azure Pipelines configuration:

  • .azure/pipelines/ci.yml: Added continueOnError: true to the Windows Server x64 testing job to allow it to continue execution even if errors are encountered.

  • .azure/pipelines/jobs/default-build.yml:

    • Added a continueOnError parameter with a default value of false to the job parameters, enabling customization of error-handling behavior.
    • Updated multiple build scripts (build.cmd and build.sh) to use the continueOnError parameter, ensuring that the behavior aligns with the specified parameter value. [1] [2]

@wtgodbe wtgodbe requested a review from a team as a code owner April 24, 2025 14:56
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 24, 2025
@wtgodbe wtgodbe requested a review from Copilot April 24, 2025 14:58
Copy link
Contributor

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.

Pull Request Overview

This PR introduces support for the continueOnError parameter in Azure Pipelines jobs to better control job execution when errors occur. Key changes include:

  • Adding a continueOnError parameter with a default value in the default-build.yml job parameters.
  • Updating build scripts in default-build.yml to use the continueOnError parameter.
  • Enabling continueOnError for the Windows Server x64 testing job in ci.yml.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.azure/pipelines/jobs/default-build.yml Added a continueOnError parameter and updated multiple job steps to use it.
.azure/pipelines/ci.yml Enabled continueOnError for the Windows Server x64 testing job.

@wtgodbe wtgodbe merged commit b5739b5 into main Apr 24, 2025
24 of 27 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/COE branch April 24, 2025 17:24
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview5 milestone Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants