From a695cb01281c9177d9281de14993be79e829b559 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 17 Nov 2020 21:35:33 -0800 Subject: [PATCH 1/2] Disable htmlcheck fail on error --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8d895a9f..ec41a83c 100644 --- a/build.gradle +++ b/build.gradle @@ -141,7 +141,7 @@ htmlSanityCheck { checkingResultsDir = new File( "$buildDir/reports/htmlchecks" ) // fail build on errors? - failOnErrors = true + failOnErrors = false checkerClasses = [BrokenCrossReferencesChecker, BrokenHttpLinksChecker, From 2744b8153947422ebb2ec89d359544b13a5bc58b Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 17 Nov 2020 22:01:39 -0800 Subject: [PATCH 2/2] Fail Azure on test fail --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 260272e1..d40aeb00 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,6 +37,7 @@ stages: publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' testRunTitle: Linux + failTaskOnFailedTests: true tasks: 'check' options: '-PbuildServer' @@ -54,6 +55,7 @@ stages: publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' testRunTitle: Win64 + failTaskOnFailedTests: true tasks: 'check' options: '-PbuildServer' @@ -82,6 +84,7 @@ stages: publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' testRunTitle: Win32 + failTaskOnFailedTests: true tasks: 'check' - job: Mac @@ -101,6 +104,7 @@ stages: publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' testRunTitle: MacOS + failTaskOnFailedTests: true tasks: 'check' options: '-PbuildServer'