Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Merge requests
!155
Extract code coverage from Jacoco for GitLab
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Extract code coverage from Jacoco for GitLab
ci-gitlab-coverage
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Daniel Gerhardt
requested to merge
ci-gitlab-coverage
into
master
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b3be4824
1 commit,
5 years ago
1 file
+
2
−
0
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
2
−
0
Options
@@ -49,8 +49,10 @@ unit_test:
paths
:
-
$OUTPUT_DIR
cache
:
*maven_cache
coverage
:
'
/Code
coverage:
\d+\.\d+/'
script
:
-
mvn -B jacoco:prepare-agent surefire:test jacoco:report
-
awk -F"," '{ instructions += $4 + $5; covered += $5 } END { print "Instructions covered:", covered, "/", instructions; print "Code coverage:", 100 * covered / instructions "%" }' "$OUTPUT_DIR/site/jacoco/jacoco.csv"
package
:
stage
:
post-build