Skip to content

Commit 725565a

Browse files
committed
404 file not found...
have to put the relevant-files.txt into output/ if we wish to keep it
1 parent 1fe6fb6 commit 725565a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pipeline

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pipeline {
4949
if [[ $(git show -s --format='%s%n%b' "${LHS}..${RHS}") =~ LINT-FULL ]]
5050
then find hubblestack -name "*.py"
5151
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
5353
'''
5454
sh '''mkdir -vp tests/unittests/output'''
5555
}
@@ -71,7 +71,7 @@ pipeline {
7171
steps {
7272
sh '''#!/bin/bash
7373
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 \
7575
> tests/unittests/output/pylint.json
7676
x=$?
7777
python ./tests/automation/pylint-json-to-html tests/unittests/output/pylint.json
@@ -84,7 +84,7 @@ pipeline {
8484
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
8585
sh '''#!/bin/bash
8686
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 \
8888
> tests/unittests/output/bandit.html
8989
x=$?
9090
cp tests/static/bandit.css tests/unittests/output/bandit.css

0 commit comments

Comments
 (0)