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 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;