diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7cc5bc9675ba2592b2e9e33d7e95b1eead16483..7da085c4f650a80ec86b9c0d6389d65f20602703 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 51f2c53da207759d037eaeb7d79c6ca3cc1408be..4f56f0f712d69971b864a73780ae433c53a4c767 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 010e2e4d35fda8bcd092cf3a4138d6a4c1951681..732200828d7a91d2313204328b289a94a1c813b1 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>