We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e9efc commit e7f8b1aCopy full SHA for e7f8b1a
buildscripts/kokoro/cronet.sh
@@ -89,11 +89,10 @@ new_apk_size="$(stat --printf=%s app/build/outputs/apk/release/app-release-unsig
89
90
# Get the APK size and dex count stats using the target branch
91
92
-sudo apt-get install -y jq
93
-target_branch="$(curl -s https://api.github.com/repos/grpc/grpc-java/pulls/$KOKORO_GITHUB_PULL_REQUEST_NUMBER | jq -r .base.ref)"
+base_commit="$(git rev-parse HEAD^)"
94
95
cd $BASE_DIR/github/grpc-java
96
-git checkout "$target_branch"
+git checkout "$base_commit"
97
./gradlew install
98
cd examples/android/helloworld/
99
./gradlew build
0 commit comments