jixuan1989 commented on a change in pull request #2672:
URL: https://github.com/apache/iotdb/pull/2672#discussion_r575600265
##########
File path: .github/workflows/main-linux.yml
##########
@@ -62,7 +62,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
run: |
- mvn -B verify sonar:sonar \
+ mvn -X -B verify sonar:sonar \
Review comment:
why add "-X" ?
##########
File path: Jenkinsfile
##########
@@ -106,7 +106,7 @@ pipeline {
// Then run the analysis
// 'my-sonarcloud-token' needs to be defined for this job
and contains the user token
withCredentials([string(credentialsId:
'xiangdong-iotdb-sonarcloud-token', variable: 'SONAR_TOKEN')]) {
- sh "mvn verify sonar:sonar -Dsonar.branch.name=master
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache_incubator-iotdb -Dsonar.login=${SONAR_TOKEN}
-DskipTests"
+ sh "mvn -X verify sonar:sonar
-Dsonar.branch.name=master -Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-iotdb
-Dsonar.login=${SONAR_TOKEN} -DskipTests"
Review comment:
do not add "-X"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]