From 01db2d790e153822886b5e7e6e9ddf16c08443ce Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 17 Mar 2025 15:04:51 +0000 Subject: [PATCH 1/2] chore: testing file change in java-vertexai to trigger builds --- .../google/cloud/vertexai/api/stub/PredictionServiceStub.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/PredictionServiceStub.java b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/PredictionServiceStub.java index 368c3ef411a1..46fa57793a82 100644 --- a/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/PredictionServiceStub.java +++ b/java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/stub/PredictionServiceStub.java @@ -18,6 +18,7 @@ import static com.google.cloud.vertexai.api.PredictionServiceClient.ListLocationsPagedResponse; +// testing file change to trigger build import com.google.api.HttpBody; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.rpc.BidiStreamingCallable; From 8c9192969b7cee4e29dcec03c0f00e10e72e3c47 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 17 Mar 2025 15:14:34 +0000 Subject: [PATCH 2/2] avoid ambiguous path --- .kokoro/common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.kokoro/common.sh b/.kokoro/common.sh index b7a0f0e811e9..902a2787338b 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -161,7 +161,8 @@ function generate_modified_modules_list() { # grep returns 1 (error code) and exits the pipeline if there is no match # If there is no match, it will return true so the rest of the commands can run git config --global --add safe.directory $(realpath .) - modified_files=$(git diff --name-only "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}") + modified_files=$(git diff --name-only \ + "origin/${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}" --) printf "Modified files:\n%s\n" "${modified_files}" # Generate the list of valid maven modules