Skip to content

Commit bb854b6

Browse files
authored
chore(java): detect sample-secrets in build.sh (#998)
Fixes #904
1 parent ab68096 commit bb854b6

File tree

1 file changed

+5
-0
lines changed
  • synthtool/gcp/templates/java_library/.kokoro

1 file changed

+5
-0
lines changed

synthtool/gcp/templates/java_library/.kokoro/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ samples)
7979

8080
if [[ -f ${SAMPLES_DIR}/pom.xml ]]
8181
then
82+
for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do
83+
[[ -f "$FILE" ]] || continue
84+
source "$FILE"
85+
done
86+
8287
pushd ${SAMPLES_DIR}
8388
mvn -B \
8489
-Penable-samples \

0 commit comments

Comments
 (0)