Skip to content

Commit e5b0f4c

Browse files
committed
add pipeline to run sonar
1 parent 7b004c2 commit e5b0f4c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,6 @@
550550
<jacoco.outputDir>${project.build.directory}/jacoco</jacoco.outputDir>
551551
<jacoco.itOutputDir>${project.build.directory}/jacoco-it</jacoco.itOutputDir>
552552
<jacoco.destFile>${project.build.directory}/jacoco.exec</jacoco.destFile>
553-
<sonar.host.url>http://slc08ujn.us.oracle.com:9000</sonar.host.url>
554553
<sonar-jacoco-listeners.version>1.4</sonar-jacoco-listeners.version>
555554
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
556555
<jacoco.skip>false</jacoco.skip>

wercker.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,15 @@ promote-image:
168168

169169
# use the quay.io REST API to change the tab "latest" to point to the image we just pushed and tested
170170

171+
# This pipeline runs quqlity checks
172+
quality:
173+
steps:
174+
- java/maven:
175+
profiles: build-sonar
176+
maven_opts: -Dsonar.login=${SONAR_LOGIN} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.host.url=${SONAR_HOST}
177+
goals: clean install sonar:sonar
178+
cache_repo: true
179+
171180
dev:
172181
steps:
173182
- internal/shell

0 commit comments

Comments
 (0)