Commit f5062dc4 authored by Perwaiz Ali's avatar Perwaiz Ali

.git-ci.yml changes

parent 4c1de098
Pipeline #2228 failed with stages
in 1 minute and 31 seconds
...@@ -14,7 +14,18 @@ maven-build: ...@@ -14,7 +14,18 @@ maven-build:
paths: paths:
- target/ShowDemo_1-0.0.1-SNAPSHOT.jar - target/ShowDemo_1-0.0.1-SNAPSHOT.jar
code quality:
tags:
- docker
stage: test
image: openjdk:12-alpine
script:
- ./mvn pmdMain pmdTest
artifacts:
when: always
paths:
- target/pmd
test-code-job1: test-code-job1:
tags: tags:
- docker - docker
...@@ -44,17 +55,7 @@ unit tests: ...@@ -44,17 +55,7 @@ unit tests:
reports: reports:
junit: target/test/*.xml junit: target/test/*.xml
code quality:
tags:
- docker
stage: test
image: openjdk:12-alpine
script:
- ./mvn pmdMain pmdTest
artifacts:
when: always
paths:
- target/pmd
deploy: deploy:
......
...@@ -39,6 +39,11 @@ ...@@ -39,6 +39,11 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.11.0</version>
</plugin>
</plugins> </plugins>
</build> </build>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment