forked from alibaba/p3c
-
Notifications
You must be signed in to change notification settings - Fork 21
/
sonar.cmd
33 lines (28 loc) · 867 Bytes
/
sonar.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cd ./p3c-pmd
call mvn clean install -Dmaven.javadoc.skip=false -e -X -Psonatype-oss-release
call mvn sonar:sonar ^
-Dsonar.scm.exclusions.disabled=true ^
-Dsonar.projectKey=p3c-cmd ^
-Dsonar.organization=xenoamess-github ^
-Dsonar.host.url=https://sonarcloud.io ^
-Dsonar.log.level=DEBUG ^
-Dsonar.language=java ^
-Dsonar.java.source=1.8 ^
-Dsonar.sourceEncoding=UTF-8 ^
-Dsonar.java.binaries=target/classes/ ^
-Dsonar.java.test.binaries=target/test-classes/ ^
-Dsonar.java.coveragePlugin=jacoco ^
-Dsonar.jacoco.reportPaths=target/jacoco.exec ^
-Dsonar.junit.reportPaths=target/surefire-reports/ ^
-Dsonar.login=353821de77c27c633a2b3339a9cfc5ad08d66086
cd ../
cd ./idea-plugin
cd ./p3c-common
call ../gradlew publishToMavenLocal sonarqube
cd ../
cd ./p3c-idea
rem call ../gradlew publishToMavenLocal
cd ../
rem call ./gradlew buildPlugin sonarqube
cd ../
pause