You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/04/13 08:56:01 UTC

[incubator-iotdb] branch jenkinsfile_issue created (now 94a549d)

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a change to branch jenkinsfile_issue
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at 94a549d  skip website compiling when doing code quality

This branch includes the following new commits:

     new 94a549d  skip website compiling when doing code quality

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-iotdb] 01/01: skip website compiling when doing code quality

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch jenkinsfile_issue
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 94a549debd2ecb0e13c5cc48a0fb04a29b1ea476
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Mon Apr 13 16:55:37 2020 +0800

    skip website compiling when doing code quality
---
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index d5ae674..f3e63e3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,6 +30,7 @@ pipeline {
     environment {
         // Testfails will be handled by the jenkins junit steps and mark the build as unstable.
         MVN_TEST_FAIL_IGNORE = '-Dmaven.test.failure.ignore=true'
+        SKIP_SITE = "'!site'"
     }
 
     tools {
@@ -117,7 +118,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 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 -pl ${SKIP_SITE}'
                     }
                 }
             }