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
44
44
test)
45
45
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
46
46
RETURN_CODE=$?
47
- bash ${KOKORO_GFILE_DIR} /codecov.sh
48
47
;;
49
48
lint)
50
49
mvn \
@@ -91,6 +90,11 @@ clirr)
91
90
;;
92
91
esac
93
92
93
+ if [ " ${REPORT_COVERAGE} " == " true" ]
94
+ then
95
+ bash ${KOKORO_GFILE_DIR} /codecov.sh
96
+ fi
97
+
94
98
# fix output location of logs
95
99
bash .kokoro/coerce_logs.sh
96
100
101
105
fi
102
106
103
107
echo " 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: {
5
5
key: " TRAMPOLINE_IMAGE"
6
6
value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
7
}
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: {
5
5
key: " TRAMPOLINE_IMAGE"
6
6
value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
7
}
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: {
5
5
key: " TRAMPOLINE_IMAGE"
6
6
value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
7
}
8
+
9
+ env_vars: {
10
+ key: " REPORT_COVERAGE"
11
+ value: " true"
12
+ }
Original file line number Diff line number Diff line change 2
2
3
3
# Configure the docker image for kokoro-trampoline.
4
4
env_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"
7
7
}
8
8
9
9
env_vars: {
10
- key: " JOB_TYPE"
11
- value: " samples"
10
+ key: " JOB_TYPE"
11
+ value: " samples"
12
12
}
13
13
14
14
env_vars: {
15
- key: " GCLOUD_PROJECT"
16
- value: " gcloud-devel"
15
+ key: " GCLOUD_PROJECT"
16
+ value: " gcloud-devel"
17
17
}
18
18
19
19
env_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"
22
27
}
23
28
24
29
before_action {
Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ env_vars: {
5
5
key: " TRAMPOLINE_IMAGE"
6
6
value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
7
}
8
+
9
+ env_vars: {
10
+ key: " REPORT_COVERAGE"
11
+ value: " true"
12
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "updateTime": "2020-02-22T10:15:46.136111Z ",
2
+ "updateTime": "2020-02-24T23:14:57.546329Z ",
3
3
"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
- },
18
4
{
19
5
"template": {
20
6
"name": "java_library",
You can’t perform that action at this time.
0 commit comments