Skip to content

Commit

Permalink
Merge branch 'master' into regen_gocloud
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSage committed Jan 13, 2021
2 parents cc8c122 + a2167f5 commit 7c1578d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kokoro/continuous.sh
Expand Up @@ -121,7 +121,7 @@ if [[ $KOKORO_JOB_NAME == *"continuous"* ]]; then
fi
elif [[ $KOKORO_JOB_NAME == *"nightly"* ]]; then
# Expected job name format: "/nightly/[OPTIONAL_MODULE_NAME]/[OPTIONAL_JOB_NAMES...]"
ARR=(${JOBNAME//// }) # Splits job name by "/" where ARR[0] is expected to be "nightly".
ARR=(${KOKORO_JOB_NAME//// }) # Splits job name by "/" where ARR[0] is expected to be "nightly".
SUBMODULE_NAME=${ARR[1]} # Gets the token after "nightly/".
if [[ -n $SUBMODULE_NAME ]] && [[ -d "./$SUBMODULE_NAME" ]]; then
# Only run tests in the submodule designated in the Kokoro job name.
Expand Down

0 comments on commit 7c1578d

Please sign in to comment.