fix(pipeline): disable linting and SAST scanning in Jenkinsfile for specific components
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
7b3c9548ea
commit
8879bb94a0
6
first-class-pipeline/tests/Jenkinsfile
vendored
6
first-class-pipeline/tests/Jenkinsfile
vendored
@ -44,7 +44,7 @@ executeFreeleapsPipeline {
|
|||||||
// buildArtifacts used to specify the build artifacts that needs to be stores and shares between components
|
// buildArtifacts used to specify the build artifacts that needs to be stores and shares between components
|
||||||
buildArtifacts: ['dist'],
|
buildArtifacts: ['dist'],
|
||||||
// lintEnabled used to specify whether to enable code lint
|
// lintEnabled used to specify whether to enable code lint
|
||||||
lintEnabled: true,
|
lintEnabled: false,
|
||||||
// linter used to specify the code linter
|
// linter used to specify the code linter
|
||||||
linter: 'eslint',
|
linter: 'eslint',
|
||||||
// eslintVersion used to specify the eslint version
|
// eslintVersion used to specify the eslint version
|
||||||
@ -95,13 +95,13 @@ executeFreeleapsPipeline {
|
|||||||
// buildCacheEnabled used to specify whether to enable build dependencies cache
|
// buildCacheEnabled used to specify whether to enable build dependencies cache
|
||||||
buildCacheEnabled: true,
|
buildCacheEnabled: true,
|
||||||
// buildCommand used to specify the build command of the component
|
// buildCommand used to specify the build command of the component
|
||||||
lintEnabled: true,
|
lintEnabled: false,
|
||||||
// linter used to specify the code linter
|
// linter used to specify the code linter
|
||||||
linter: 'pylint',
|
linter: 'pylint',
|
||||||
// linterConfig used to specify the code linter configuration file path, if not set, will use the default configuration
|
// linterConfig used to specify the code linter configuration file path, if not set, will use the default configuration
|
||||||
// linterConfig: '.pylintrc',
|
// linterConfig: '.pylintrc',
|
||||||
// sastEnabled used to specify whether to enable SAST scan
|
// sastEnabled used to specify whether to enable SAST scan
|
||||||
sastEnabled: true,
|
sastEnabled: false,
|
||||||
// sastScanner used to specify the SAST scanner
|
// sastScanner used to specify the SAST scanner
|
||||||
// FIXME: Python has no production-ready SAST scanner yet
|
// FIXME: Python has no production-ready SAST scanner yet
|
||||||
sastScanner: 'bandit',
|
sastScanner: 'bandit',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user