From 44202a5d28e7866844d4c23a1d54767837f5eb57 Mon Sep 17 00:00:00 2001 From: "David P. Steelman" Date: Wed, 27 Mar 2024 08:09:18 -0400 Subject: [PATCH] LIBITD-2487. Fix Jenkinsfile for Jenkins v2.440.2 Updated the "recordIssues" directive in the "Jenkinsfile" to use the "qualityGates" parameter, instead of the obsolete "unstableTotalAll" parameter. https://umd-dit.atlassian.net/browse/LIBITD-2487 --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b85606fe5b7a..391b99226754 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -115,7 +115,8 @@ pipeline { // Filter out the hundreds of TODOs warnings at the "INFO" level // from the stock DSpace code filters: [excludeType('TodoCommentCheck')], - unstableTotalNormal: 1, enabledForFailure: true) + qualityGates: [[threshold: 1, type: 'TOTAL', criticality: 'UNSTABLE']], + enabledForFailure: true) } } }