Handle path exclusions

This commit is contained in:
Dan Hawkins 2020-10-04 11:11:17 +01:00
commit ec496bb557

View file

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