Skip to content

Commit 5401873

Browse files
committed
chore: Print the changed modules list
1 parent 11d69ee commit 5401873

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.kokoro/build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,16 @@ case ${JOB_TYPE} in
231231
dir=$(dirname "${dir}")
232232
done
233233
if [ -f "${dir}/pom.xml" ] && [ "${dir}" != "." ]; then
234-
# Exclude sample and tutorial modules as they are not in the default reactor
235-
if [[ "${dir}" != *"samples"* ]] && [[ "${dir}" != *"tutorials"* ]]; then
234+
# Exclude sample modules as they are not in the default reactor
235+
if [[ "${dir}" != *"samples"* ]]; then
236236
changed_modules+=("${dir}")
237237
fi
238238
fi
239239
fi
240240
done <<< "${changed_file_list}"
241241

242+
echo "Changed Modules: ${changed_modules}"
243+
242244
# Deduplicate the modules using sort -u, so that we pass a concise list of unique modules
243245
# via the Maven `-pl` argument.
244246
if [ ${#changed_modules[@]} -gt 0 ]; then

0 commit comments

Comments
 (0)