Skip to content

Commit

Permalink
chore: Echo working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lqiu96 committed Aug 1, 2024
1 parent 5903ad3 commit 1246bfa
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ echo ${JOB_TYPE}
#export PATH=${JAVA_HOME}/bin:$PATH

# attempt to install 3 times with exponential backoff (starting with 10 seconds)
retry_with_backoff 3 10 \
mvn install -B -V -ntp \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C
#retry_with_backoff 3 10 \
# mvn install -B -V -ntp \
# -DskipTests=true \
# -Dclirr.skip=true \
# -Denforcer.skip=true \
# -Dmaven.javadoc.skip=true \
# -Dgcloud.download.skip=true \
# -T 1C

# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it
if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
Expand All @@ -122,6 +122,7 @@ fi

RETURN_CODE=0
set +e
set -x

case ${JOB_TYPE} in
test)
Expand Down Expand Up @@ -149,7 +150,7 @@ integration)

repo="[email protected]:googleapis/java-bigquery.git"
repo_name=$(basename "${repo}" .git)
echo "${repo_name}"
echo "Repo Name: ${repo_name}"
git clone "${repo}"
pushd "${repo_name}"
pwd
Expand Down

0 comments on commit 1246bfa

Please sign in to comment.