mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 02:03:33 +08:00
Jenkins add ShellCheck
This commit is contained in:
committed by
Lorenz Meier
parent
2164ef8fb6
commit
3c4c9131aa
@@ -24,7 +24,12 @@ echo "Running shellcheck in '$search_directory'."
|
||||
# SC2086: double quote to prevent globbing and word splitting
|
||||
# SC2166: allow the form [ $OUTPUT_MODE == fmu -o $OUTPUT_MODE == io ]
|
||||
# SC2148: allow files w/o shebang
|
||||
shellcheck -a -x -e SC2121 -e SC1008 -e SC2086 -e SC2166 -e SC2148 \
|
||||
shellcheck -x \
|
||||
-e SC1008 \
|
||||
-e SC2086 \
|
||||
-e SC2121 \
|
||||
-e SC2148 \
|
||||
-e SC2166 \
|
||||
$scripts
|
||||
ret=$?
|
||||
if [ $ret -ne 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user