Handle path exclusions

This commit is contained in:
Dan Hawkins 2020-10-04 11:18:18 +01:00
commit 35018f9956

View file

@ -91,7 +91,7 @@ pipeline {
def EXCLUDE_PARAM = ''
if (EXCLUDE_PATHS) {
EXCLUDE_PARAM = '--exclude "'
def exclude_path_list = EXCLUDE_PATHS.split()
def exclude_path_list = EXCLUDE_PATHS.split(',')
for (exclude_path in exclude_path_list) {
EXCLUDE_PARAM += "${SRC}/${exclude_path.trim()},"
}