-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmerge_exec_v2.json
96 lines (96 loc) · 2.97 KB
/
merge_exec_v2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"pipelineSpec": {
"tasks": [
{
"name": "merge-exec-files",
"taskSpec": {
"taskSpec": {
"steps": [
{
"name" : "jacococli-jar-download",
"image": "gcr.io/cloud-builders/gsutil",
"args": [
"-c",
"gsutil cp gs://ftginputgentest/jacoco/jacococli.jar ."
],
"command": [
"/bin/bash"
],
"workingDir": "/workspace/shared-workspace/covTest"
},
{
"name": "exec-files-download",
"image": "gcr.io/cloud-builders/gsutil",
"args": [
"-c",
"gsutil -m cp -r gs://ftginputgentest/jacoco/CoverageTest ."
],
"command": [
"/bin/bash"
],
"workingDir": "/workspace/shared-workspace/covTest"
},
{
"name": "run-cli-tool",
"image": "openjdk:11",
"args": [
"-c",
"java -jar jacococli.jar report CoverageTest/FuzzParse.exec CoverageTest/FuzzStreamParser.exec CoverageTest/FuzzReader.exec --classfiles CoverageTest/Classes/ --xml TestMergeCoverage.xml --sourcefiles CoverageTest/Src/ && echo \"Command completed successfully\" || { status=$?; [ $status -eq 124 ] && echo \"Command timed out\" || echo \"Command failed with exit status $status\"; }"
],
"command": [
"/bin/bash"
],
"workingDir": "/workspace/shared-workspace/covTest"
},
{
"name": "push-xml-report",
"image": "gcr.io/cloud-builders/gsutil",
"args": [
"-c",
"gsutil cp TestMergeCoverage.xml gs://ftginputgentest/jacoco"
],
"command": [
"/bin/bash"
],
"workingDir": "/workspace/shared-workspace/covTest"
}
],
"workspaces": [
{
"name": "shared-workspace"
}
]
}
},
"workspaces": [
{
"name": "shared-workspace"
}
],
"timeout": "28800s"
}
],
"workspaces": [
{
"name": "shared-workspace"
}
]
},
"serviceAccount": "projects/cloud-aoss-dev/serviceAccounts/[email protected]",
"options": {
"executionEnvironment": {
"workerPool": "projects/cloud-aoss-dev/locations/us-central1/workerPools/gcb-managed-container"
},
"timeouts": {
"pipeline": "28800s"
}
},
"workspaces": [
{
"name": "shared-workspace",
"volumeClaim": {
"storage": "10gb"
}
}
]
}