-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathaction.yml
More file actions
15 lines (14 loc) · 1.55 KB
/
Copy pathaction.yml
File metadata and controls
15 lines (14 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: "Dump jacoco result action"
description: "Dump and store code coverage for all core services from jacoco agent running in containers"
runs:
using: "composite"
steps:
- name: Dump jacoco result
shell: bash
run: |
java -jar ./scripts/jacococli.jar dump --retry 1 --address zaas-service --port 6301 --destfile ./results/zaas-service.exec || echo "ZAAS is not available to obtain JaCoCo report at the moment"
java -jar ./scripts/jacococli.jar dump --retry 1 --address gateway-service --port 6300 --destfile ./results/gateway-service.exec || echo "Gateway is not available to obtain JaCoCo report at the moment"
java -jar ./scripts/jacococli.jar dump --retry 1 --address caching-service --port 6306 --destfile ./results/caching-service.exec || echo "Caching service is not available to obtain JaCoCo report at the moment"
java -jar ./scripts/jacococli.jar dump --retry 1 --address discovery-service --port 6302 --destfile ./results/discovery-service.exec || echo "Discovery service is not available to obtain JaCoCo report at the moment"
java -jar ./scripts/jacococli.jar dump --retry 1 --address api-catalog-services --port 6304 --destfile ./results/api-catalog-services.exec || echo "API Catalog is not available to obtain JaCoCo report at the moment"
java -jar ./scripts/jacococli.jar dump --retry 1 --address apiml --port 6310 --destfile ./results/apiml.exec || echo "API ML (Modulith) is not available to obtain JaCoCo report at the moment"