Skip to content

Paint it green #35559

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

Merged
merged 3 commits into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .azure/pipelines/components-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ stages:
# Test jobs
- template: jobs/default-build.yml
parameters:
continueOnBuildError: true
condition: ne(variables['SkipTests'], 'true')
jobName: Windows_Test
jobDisplayName: "Test: Blazor E2E tests on Windows Server 2016 x64"
Expand Down
6 changes: 6 additions & 0 deletions .azure/pipelines/jobs/default-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
# Specifies the build script to run. Defaults to build.sh or build.cmd.
# skipComponentGovernanceDetection: boolean
# Determines if component governance detection can be skipped
# continueOnBuildError: boolean
# Specifies whether continueOnError is set for the build step
#
# See https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema for details
#
Expand All @@ -63,6 +65,7 @@ parameters:
testRunTitle: $(AgentOsName)-$(BuildConfiguration)
useHostedUbuntu: true
skipComponentGovernanceDetection: false
continueOnBuildError: false

# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build
Expand Down Expand Up @@ -227,12 +230,15 @@ jobs:
- ${{ if eq(parameters.agentOs, 'Windows') }}:
- script: $(BuildDirectory)\build.cmd -ci -nobl -Configuration $(BuildConfiguration) $(BuildScriptArgs) /p:DotNetSignType=$(_SignType)
displayName: Run build.cmd
continueOnError: ${{ parameters.continueOnBuildError }}
- ${{ if ne(parameters.agentOs, 'Windows') }}:
- script: $(BuildDirectory)/build.sh --ci --nobl --configuration $(BuildConfiguration) $(BuildScriptArgs)
displayName: Run build.sh
continueOnError: ${{ parameters.continueOnBuildError }}
- ${{ if ne(parameters.buildScript, '') }}:
- script: $(BuildScript) -ci -nobl -Configuration $(BuildConfiguration) $(BuildScriptArgs)
displayName: run $(BuildScript)
continueOnError: ${{ parameters.continueOnBuildError }}

- ${{ parameters.afterBuild }}

Expand Down