File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright 2019 Google LLC
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+
16+ set -eo pipefail
17+ # Display commands being run.
18+ set -x
19+
20+ cd github/google-auth-library-java/
21+
22+ # Print out Java version
23+ java -version
24+ echo ${JOB_TYPE}
25+
26+ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V
27+
28+ # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR
29+ JAR=linkage-monitor-latest-all-deps.jar
30+ curl -v -O " https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR} "
31+
32+ # Fails if there's new linkage errors compared with baseline
33+ java -jar ${JAR} com.google.cloud:libraries-bom
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ env_vars: {
4+ key: " TRAMPOLINE_IMAGE"
5+ value: " gcr.io/cloud-devrel-kokoro-resources/java8"
6+ }
7+
8+ env_vars: {
9+ key: " TRAMPOLINE_BUILD_FILE"
10+ value: " github/google-auth-library-java/.kokoro/linkage-monitor.sh"
11+ }
You can’t perform that action at this time.
0 commit comments