File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ name: java-bigquerystorage ci
99defaults :
1010 run :
1111 working-directory : java-bigquerystorage
12+ env :
13+ BUILD_SUBDIR : java-bigquerystorage
1214jobs :
1315 filter :
1416 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3535
3636RETURN_CODE=0
3737
38+ if [[ -n " ${BUILD_SUBDIR} " ]]
39+ then
40+ echo " Running in subdir: ${BUILD_SUBDIR} "
41+ pushd " ${BUILD_SUBDIR} "
42+ fi
43+
3844case ${JOB_TYPE} in
3945 test)
4046 retry_with_backoff 3 10 \
@@ -125,6 +131,12 @@ case ${JOB_TYPE} in
125131
126132esac
127133
134+ if [[ -n " ${BUILD_SUBDIR} " ]]
135+ then
136+ echo " restoring directory"
137+ popd
138+ fi
139+
128140if [ " ${REPORT_COVERAGE} " == " true" ]; then
129141 bash ${KOKORO_GFILE_DIR} /codecov.sh
130142fi
You can’t perform that action at this time.
0 commit comments