add jenkinsfile to groovy files

This commit is contained in:
Jon Hamm 2023-01-04 21:41:19 -05:00 committed by Brett Logan
parent e69db3d7ed
commit aad87c569b

View file

@ -438,8 +438,10 @@ function BuildFileList() {
######################## ########################
# Get the GROOVY files # # 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" ] || 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 # # Append the file to the array #
################################ ################################