From 348716b22e624b98000a6ee4a4389603da861493 Mon Sep 17 00:00:00 2001 From: Nicusor Serban Date: Tue, 27 Feb 2024 18:20:43 +0100 Subject: [PATCH] Fix recordIssues syntax --- Jenkinsfile | 50 ++++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 52bc5a34ff..21af74470f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -192,17 +192,17 @@ pipeline { } post { always { - - recordIssues id: "lint_doc_checks", - name: "Linting & Doc checks", - enabledForFailure: true, - aggregatingResults : true, - tools: [ - cppLint(id: "cpplint", name: "Linting & Doc checks@CPPLINT") - ], - qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]], - healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH', - + recordIssues( + id: "lint_doc_checks", + name: "Linting & Doc checks", + enabledForFailure: true, + aggregatingResults : true, + tools: [ + cppLint(id: "cpplint", name: "Linting & Doc checks@CPPLINT") + ], + qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]], + healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH' + ) deleteDir() } } @@ -496,19 +496,21 @@ pipeline { post { always { node("linux") { - recordIssues id: "pipeline", - name: "Entire pipeline results", - enabledForFailure: true, - aggregatingResults : false, - filters: [ - excludeFile('lib/.*') - ], - tools: [ - gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"), - clang(id: "pipeline_clang", name: "LLVM/Clang") - ], - qualityGates: [[threshold: 30, type: 'TOTAL', unstable: true]], - healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH' + recordIssues( + id: "pipeline", + name: "Entire pipeline results", + enabledForFailure: true, + aggregatingResults : false, + filters: [ + excludeFile('lib/.*') + ], + tools: [ + gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"), + clang(id: "pipeline_clang", name: "LLVM/Clang") + ], + qualityGates: [[threshold: 30, type: 'TOTAL', unstable: true]], + healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH' + ) } } success {