From 8879bb94a0ceefd97c3651e610b21c8eb5e3b8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Fri, 7 Feb 2025 18:11:33 +0800 Subject: [PATCH] fix(pipeline): disable linting and SAST scanning in Jenkinsfile for specific components MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- first-class-pipeline/tests/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/first-class-pipeline/tests/Jenkinsfile b/first-class-pipeline/tests/Jenkinsfile index 8e2bcf81..7d8b0dd8 100644 --- a/first-class-pipeline/tests/Jenkinsfile +++ b/first-class-pipeline/tests/Jenkinsfile @@ -44,7 +44,7 @@ executeFreeleapsPipeline { // buildArtifacts used to specify the build artifacts that needs to be stores and shares between components buildArtifacts: ['dist'], // lintEnabled used to specify whether to enable code lint - lintEnabled: true, + lintEnabled: false, // linter used to specify the code linter linter: 'eslint', // eslintVersion used to specify the eslint version @@ -95,13 +95,13 @@ executeFreeleapsPipeline { // buildCacheEnabled used to specify whether to enable build dependencies cache buildCacheEnabled: true, // buildCommand used to specify the build command of the component - lintEnabled: true, + lintEnabled: false, // linter used to specify the code linter linter: 'pylint', // linterConfig used to specify the code linter configuration file path, if not set, will use the default configuration // linterConfig: '.pylintrc', // sastEnabled used to specify whether to enable SAST scan - sastEnabled: true, + sastEnabled: false, // sastScanner used to specify the SAST scanner // FIXME: Python has no production-ready SAST scanner yet sastScanner: 'bandit',