Commit 4997c2f
committed
code coverage: centralize JaCoCo version
Motivation:
To improve maintainability and ensure consistency across the JaCoCo toolchain.
This change centralizes the JaCoCo version and removes hardcoded values from scripts and CI jobs.
Modifications:
CI:
Updated .gitlab-ci.yml to use a global JACOCO_VERSION variable, removing hardcoded versions from get_jacoco_cli and generate_jacoco_report jobs.
Scripts:
Modified get-jacoco.sh and generate-jacoco-report.sh to use the JACOCO_VERSION environment variable with a fallback value for failproof execution.
Cleanup: Removed redundant version declarations.
Results:
The JaCoCo version is now defined once in .gitlab-ci.yml, and once in parent pom.xml.
Testing:
Confirmed CI jobs use the correct version and generate reports as expected.
Acked-by: Tigran Mkrtchyan
Target: master
Require-book: no
Require-notes: no1 parent 148ab3f commit 4997c2f
File tree
4 files changed
+6
-9
lines changed4 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
710 | | - | |
711 | | - | |
712 | 711 | | |
713 | 712 | | |
714 | 713 | | |
715 | 714 | | |
716 | 715 | | |
717 | 716 | | |
718 | | - | |
719 | 717 | | |
720 | 718 | | |
721 | 719 | | |
| |||
725 | 723 | | |
726 | 724 | | |
727 | 725 | | |
728 | | - | |
729 | | - | |
730 | 726 | | |
731 | 727 | | |
732 | 728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
1242 | 1243 | | |
1243 | 1244 | | |
1244 | 1245 | | |
1245 | | - | |
| 1246 | + | |
1246 | 1247 | | |
1247 | 1248 | | |
1248 | 1249 | | |
| |||
0 commit comments