This repository was archived by the owner on Dec 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +49
-25
lines changed Expand file tree Collapse file tree 7 files changed +49
-25
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ case ${JOB_TYPE} in
4444test)
4545 mvn test -B -Dclirr.skip=true -Denforcer.skip=true
4646 RETURN_CODE=$?
47- bash ${KOKORO_GFILE_DIR} /codecov.sh
4847 ;;
4948lint)
5049 mvn \
@@ -91,6 +90,11 @@ clirr)
9190 ;;
9291esac
9392
93+ if [ " ${REPORT_COVERAGE} " == " true" ]
94+ then
95+ bash ${KOKORO_GFILE_DIR} /codecov.sh
96+ fi
97+
9498# fix output location of logs
9599bash .kokoro/coerce_logs.sh
96100
101105fi
102106
103107echo " exiting with ${RETURN_CODE} "
104- exit ${RETURN_CODE}
108+ exit ${RETURN_CODE}
Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ env_vars: {
55 key: " TRAMPOLINE_IMAGE"
66 value: " gcr.io/cloud-devrel-kokoro-resources/java8"
77}
8+
9+ env_vars: {
10+ key: " REPORT_COVERAGE"
11+ value: " true"
12+ }
Original file line number Diff line number Diff line change @@ -5,3 +5,17 @@ env_vars: {
55 key: " TRAMPOLINE_IMAGE"
66 value: " gcr.io/cloud-devrel-kokoro-resources/java8"
77}
8+
9+ env_vars: {
10+ key: " ENABLE_BUILD_COP"
11+ value: " true"
12+ }
13+
14+ before_action {
15+ fetch_keystore {
16+ keystore_resource {
17+ keystore_config_id: 73713
18+ keyname: " java_it_service_account"
19+ }
20+ }
21+ }
Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ env_vars: {
55 key: " TRAMPOLINE_IMAGE"
66 value: " gcr.io/cloud-devrel-kokoro-resources/java8"
77}
8+
9+ env_vars: {
10+ key: " REPORT_COVERAGE"
11+ value: " true"
12+ }
Original file line number Diff line number Diff line change 22
33# Configure the docker image for kokoro-trampoline.
44env_vars: {
5- key: " TRAMPOLINE_IMAGE"
6- value: " gcr.io/cloud-devrel-kokoro-resources/java8"
5+ key: " TRAMPOLINE_IMAGE"
6+ value: " gcr.io/cloud-devrel-kokoro-resources/java8"
77}
88
99env_vars: {
10- key: " JOB_TYPE"
11- value: " samples"
10+ key: " JOB_TYPE"
11+ value: " samples"
1212}
1313
1414env_vars: {
15- key: " GCLOUD_PROJECT"
16- value: " gcloud-devel"
15+ key: " GCLOUD_PROJECT"
16+ value: " gcloud-devel"
1717}
1818
1919env_vars: {
20- key: " GOOGLE_APPLICATION_CREDENTIALS"
21- value: " keystore/73713_java_it_service_account"
20+ key: " GOOGLE_APPLICATION_CREDENTIALS"
21+ value: " keystore/73713_java_it_service_account"
22+ }
23+
24+ env_vars: {
25+ key: " ENABLE_BUILD_COP"
26+ value: " true"
2227}
2328
2429before_action {
Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ env_vars: {
55 key: " TRAMPOLINE_IMAGE"
66 value: " gcr.io/cloud-devrel-kokoro-resources/java8"
77}
8+
9+ env_vars: {
10+ key: " REPORT_COVERAGE"
11+ value: " true"
12+ }
Original file line number Diff line number Diff line change 11{
2- "updateTime": "2020-02-22T10:15:46.136111Z ",
2+ "updateTime": "2020-02-24T23:14:57.546329Z ",
33 "sources": [
4- {
5- "git": {
6- "name": ".",
7- "remote": "https://github.com/googleapis/java-core.git",
8- "sha": "b8838eb5d76c7f64a579113f6622e1314af3cd1e"
9- }
10- },
11- {
12- "git": {
13- "name": "synthtool",
14- "remote": "rpc://devrel/cloud/libraries/tools/autosynth",
15- "sha": "706a38c26db42299845396cdae55db635c38794a"
16- }
17- },
184 {
195 "template": {
206 "name": "java_library",
You can’t perform that action at this time.
0 commit comments