Skip to content

Commit 0d08c1e

Browse files
committed
let's make pylint non-optional
1 parent c7c9884 commit 0d08c1e

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.pipeline

+8-10
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,14 @@ pipeline {
6969
}
7070
stage('pylint') {
7171
steps {
72-
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
73-
sh '''#!/bin/bash
74-
source ./venv/bin/activate
75-
< relevant-files.txt xargs -r pylint --output-format=json \
76-
> tests/unittests/output/pylint.json
77-
x=$?
78-
python ./tests/automation/pylint-json-to-html tests/unittests/output/pylint.json
79-
exit $x
80-
'''
81-
}
72+
sh '''#!/bin/bash
73+
source ./venv/bin/activate
74+
< relevant-files.txt xargs -r pylint --output-format=json \
75+
> tests/unittests/output/pylint.json
76+
x=$?
77+
python ./tests/automation/pylint-json-to-html tests/unittests/output/pylint.json
78+
exit $x
79+
'''
8280
}
8381
}
8482
stage('bandit') {

0 commit comments

Comments
 (0)