From 65f950b442662e0e0850781bd05e6576d644cc63 Mon Sep 17 00:00:00 2001
From: Jens Georg <jens.georg@desy.de>
Date: Thu, 22 Apr 2021 12:12:11 +0200
Subject: [PATCH] cppcheck: Remove label restriction

---
 vars/helper.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/helper.groovy b/vars/helper.groovy
index b7b74a6..1f520ac 100644
--- a/vars/helper.groovy
+++ b/vars/helper.groovy
@@ -78,7 +78,7 @@ def doAnalysis(String label, String buildType) {
     doBuilddirArtefact(label, buildType)
 
     // Run cppcheck only for focal-debug
-    if((!env.DISABLE_CPPCHECK || env.DISABLE_CPPCHECK == '') && label == 'focal') {
+    if((!env.DISABLE_CPPCHECK || env.DISABLE_CPPCHECK == '')) {
         doCppcheck(label, buildType)
     }
 
-- 
GitLab