We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1616a7 commit ebec6efCopy full SHA for ebec6ef
1 file changed
.kokoro/common.sh
@@ -71,6 +71,7 @@ function parse_submodules() {
71
72
# Use grep to find the modules in the aggregator pom file
73
# Faster than invoking mvn help:evaluate to list all the project modules
74
+ # Not all modules will have sub-modules (use `|| true`) to prevent the script from failing.
75
modules=$(grep '<module>' "$1/pom.xml" | sed 's/.*<module>\(.*\)<\/module>.*/\1/' || true)
76
if [ -n "$modules" ]; then
77
for submodule in $modules; do
0 commit comments