Skip to content

Commit 1dbd0d6

Browse files
fix
1 parent 1a0e3be commit 1dbd0d6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.kokoro/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ if [[ ! -z "${KOKORO_JOB_TYPE}" ]]; then
4141
INSTALL_OPTS="-Pairlock-trusted"
4242
fi
4343

44-
echo ${INSTALL_OPTS}
45-
4644
# attempt to install 3 times with exponential backoff (starting with 10 seconds)
4745
retry_with_backoff 3 10 \
4846
mvn install -B -V -U -ntp \

.kokoro/dependencies.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,16 @@ if [ ! -z "${JAVA11_HOME}" ]; then
5353
setJava "${JAVA11_HOME}"
5454
fi
5555

56+
# Enable airlock only for Kokoro jobs
57+
INSTALL_OPTS=""
58+
if [[ ! -z "${KOKORO_JOB_TYPE}" ]]; then
59+
INSTALL_OPTS="-Pairlock-trusted"
60+
fi
61+
5662
# this should run maven enforcer
5763
retry_with_backoff 3 10 \
5864
mvn install -B -V -ntp \
65+
${INSTALL_OPTS} \
5966
-DskipTests=true \
6067
-Dmaven.javadoc.skip=true \
6168
-Dclirr.skip=true

0 commit comments

Comments
 (0)