From 8f5a3d457f9ef07a931f364adf94fd2a6766cbd1 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Wed, 16 Jan 2019 09:57:38 +0100
Subject: [PATCH] [Jenkins] Filter out non-fixable warnings, set threshold to
 0.

---
 Jenkinsfile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7d38600aba2..70024250cb3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -111,10 +111,12 @@ pipeline {
                 excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*')],
                 tools: [gcc4(name: 'GCC', pattern: 'build/build.log')],
                 unstableTotalAll: 3
-              // TODO: .*DOT_GRAPH_MAX_NODES.
-              //       .*potential recursive class relation.*
-              recordIssues tools: [doxygen(pattern: 'build/DoxygenWarnings.log')],
-                unstableTotalAll: 25
+              recordIssues filters: [
+                  excludeFile('-'), excludeFile('.*Functional\\.h'),
+                  excludeFile('.*gmock-.*\\.h'), excludeFile('.*gtest-.*\\.h')
+                ],
+                tools: [doxygen(pattern: 'build/DoxygenWarnings.log')],
+                failedTotalAll: 1
             }
             success {
               publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: true,
-- 
GitLab