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-22T09:41 :35.370556Z ",
2
+ "updateTime": "2020-02-24T22:40 :35.722548Z ",
3
3
"sources": [
4
4
{
5
5
"generator": {
8
8
"dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738"
9
9
}
10
10
},
11
- {
12
- "git": {
13
- "name": ".",
14
- "remote": "https://github.com/googleapis/java-bigquery.git",
15
- "sha": "caa32e3caf2ac29c92ee49163dfb621438658cef"
16
- }
17
- },
18
- {
19
- "git": {
20
- "name": "synthtool",
21
- "remote": "rpc://devrel/cloud/libraries/tools/autosynth",
22
- "sha": "706a38c26db42299845396cdae55db635c38794a"
23
- }
24
- },
25
11
{
26
12
"template": {
27
13
"name": "java_library",
You can’t perform that action at this time.
0 commit comments