From e4dde412c0a0b22e7ad784fdd8c860c315f371c2 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Mon, 16 Dec 2019 00:10:42 +0400 Subject: [PATCH] Added code coverage bage. Changed description. Signed-off-by: Pavel Kirilin <win10@list.ru> --- .gitlab-ci.yml | 7 ++----- README.md | 11 +++++++++-- pom.xml | 20 ++++++++++++++++++++ 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7cc5bc..7da085c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,11 +12,8 @@ test: script: - make test - sudo /bin/chown -R gitlab-runner target - artifacts: - reports: - junit: - - target/surefire-reports/TEST-*.xml - - target/failsafe-reports/TEST-*.xml + - cat target/site/jacoco/index.html + cleanup: stage: cleanup tags: diff --git a/README.md b/README.md index 51f2c53..4f56f0f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ -# Corporative systems sample javaEE project +# Cinemas corporation system built on pure JavaEE +[](https://gitlab.le-memese.com/s3rius/corporative_systems) -To run it simply run 'docker-compose up --build' i died for that. Donate me. \ No newline at end of file +System that helps people to manage cinemas tickets and their customers. + +## We help you with your business +This project will be convenient for you business in performing following actions: +* Check stats of your cinema; +* See all your customers info; +* Manage your ticketing system. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 010e2e4..7322008 100644 --- a/pom.xml +++ b/pom.xml @@ -154,6 +154,26 @@ <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.3</version> + <executions> + <execution> + <id>pre-unit-test</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>post-unit-test</id> + <phase>test</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> -- GitLab