From dbfa135263b1be7aff33f7be96ec0767836e04b6 Mon Sep 17 00:00:00 2001
From: Viktor Vorobev <vorobev@in.tum.de>
Date: Mon, 18 Jan 2021 21:55:10 +0000
Subject: [PATCH] Merged in NRRPLT-8101-pylint-warning (pull request #25)

[NRRPLT-8101] Add pylint warning

Approved-by: Ugo Albanese
Approved-by: Vahid Zolfaghari
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 059c002..6269960 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -116,7 +116,7 @@ pipeline {
                         onlyStable: false, 
                         sourceEncoding: 'ASCII', 
                         zoomCoverageChart: false,
-                        lineCoverageTargets: "90.0, 0, 0"])
+                        lineCoverageTargets: "0.0, 0, 0"])
                     archiveArtifacts 'coverage.xml'
                 }
             }
@@ -129,6 +129,7 @@ pipeline {
                 archiveArtifacts 'p*.*'
                 archiveArtifacts 'test-reports/*.*'
                 junit 'test-reports/*.xml'
+                recordIssues enabledForFailure: true, tools: [pyLint(pattern: 'pylint.txt'), pep8(pattern: 'pycodestyle.txt')], qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]]
             }
         }
         aborted {
-- 
GitLab