File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ flake8 --config "$CONFIG/.flake8" "$ROOTDIR" | tee "$flake8Report"
6161
6262if [ " $localbuild " = " true" ]; then
6363 echo " ===> Running shellcheck"
64- shellcheck " $ROOTDIR " /* .sh " $ROOTDIR " /* /* .sh -s bash -f json | tee " $buildDir /shellcheck-report.txt " | " $CONFDIR " /shellcheck2sonar.py > " $shellcheckReport "
64+ shellcheck " $ROOTDIR " /* .sh " $ROOTDIR " /* /* .sh -s bash -f json | jq | tee " $buildDir /shellcheck-report.json " | " $CONFDIR " /shellcheck2sonar.py > " $shellcheckReport "
6565 [ ! -s " $shellcheckReport " ] && rm -f " $shellcheckReport "
66- cat " $buildDir /shellcheck-report.txt "
66+ cat " $buildDir /shellcheck-report.json "
6767
6868 echo " ===> Running checkov"
6969 checkov -d . --framework dockerfile -o sarif --output-file-path " $buildDir "
You can’t perform that action at this time.
0 commit comments