mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 21:50:59 -05:00
add jenkinsfile to groovy files
This commit is contained in:
parent
e69db3d7ed
commit
aad87c569b
1 changed files with 3 additions and 1 deletions
|
@ -438,8 +438,10 @@ function BuildFileList() {
|
|||
########################
|
||||
# Get the GROOVY files #
|
||||
########################
|
||||
# Use BASE_FILE here because FILE_TYPE is not reliable when there is no file extension
|
||||
elif [ "$FILE_TYPE" == "groovy" ] || [ "$FILE_TYPE" == "jenkinsfile" ] ||
|
||||
[ "$FILE_TYPE" == "gradle" ] || [ "$FILE_TYPE" == "nf" ]; then
|
||||
[ "$FILE_TYPE" == "gradle" ] || [ "$FILE_TYPE" == "nf" ] ||
|
||||
[[ "$BASE_FILE" =~ .*jenkinsfile.* ]]; then
|
||||
################################
|
||||
# Append the file to the array #
|
||||
################################
|
||||
|
|
Loading…
Reference in a new issue