File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pipeline {
49
49
if [[ $(git show -s --format='%s%n%b' "${LHS}..${RHS}") =~ LINT-FULL ]]
50
50
then find hubblestack -name "*.py"
51
51
else find hubblestack -name "*.py" -print0 | xargs -r0 git diff --name-only "$LHS" "$RHS"
52
- fi > relevant-files.txt
52
+ fi > tests/unittests/output/ relevant-files.txt
53
53
'''
54
54
sh '''mkdir -vp tests/unittests/output'''
55
55
}
@@ -71,7 +71,7 @@ pipeline {
71
71
steps {
72
72
sh '''#!/bin/bash
73
73
source ./venv/bin/activate
74
- < relevant-files.txt xargs -r pylint --output-format=json \
74
+ < tests/unittests/output/ relevant-files.txt xargs -r pylint --output-format=json \
75
75
> tests/unittests/output/pylint.json
76
76
x=$?
77
77
python ./tests/automation/pylint-json-to-html tests/unittests/output/pylint.json
@@ -84,7 +84,7 @@ pipeline {
84
84
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
85
85
sh '''#!/bin/bash
86
86
source ./venv/bin/activate
87
- < relevant-files.txt xargs -r bandit -lif html \
87
+ < tests/unittests/output/ relevant-files.txt xargs -r bandit -lif html \
88
88
> tests/unittests/output/bandit.html
89
89
x=$?
90
90
cp tests/static/bandit.css tests/unittests/output/bandit.css
You can’t perform that action at this time.
0 commit comments