Commit a81da0bf authored by Bùi Bá Trường's avatar Bùi Bá Trường

truongbb - test ci

parent 2d21d231
Pipeline #355 passed with stages
in 1 minute and 15 seconds
......@@ -38,7 +38,7 @@ sub_compile(){
sub_sonar-scan(){
# /root/sonar-scanner/bin/sonar-scanner
mvn clean package sonar:sonar \
mvn clean --settings settings.xml package sonar:sonar \
-Dsonar.projectName='SpringCIAdvanced' \
-Dsonar.projectKey='spring-ci-advanced'
}
......
<settings>
<pluginGroups>
<pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
</pluginGroups>
<profiles>
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Optional URL to server. Default value is http://localhost:9000 -->
<sonar.host.url>
http://192.168.1.210:9000
</sonar.host.url>
</properties>
</profile>
</profiles>
</settings>
\ No newline at end of file
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