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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new db335faecc Fix jenkins sonar report error (#8868)
db335faecc is described below

commit db335faecc2ebe6650bfd7381b8fdbf423812c1f
Author: Haonan <[email protected]>
AuthorDate: Fri Jan 13 11:20:42 2023 +0800

    Fix jenkins sonar report error (#8868)
---
 Jenkinsfile | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 31f2dd3250..23b28677b8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,7 +34,7 @@ pipeline {
 
     tools {
         maven 'maven_3_latest'
-        jdk 'jdk_1.8_latest'
+        jdk 'jdk_11_latest'
     }
 
     options {
@@ -58,26 +58,26 @@ pipeline {
             }
         }
 
-        stage('Deploy site') {
-            when {
-                branch 'master'
-            }
-            // Only the nodes labeled 'git-websites' have the credentials to 
commit to the.
-            agent {
-                node {
-                    label 'git-websites'
-                }
-            }
-            steps {
-                // Publish the site with the scm-publish plugin.
-                sh 'mvn -P site -P compile-site -P compile-site-1.0 -P 
compile-site-0.13 -P compile-site-0.12 -P compile-site-0.11 -P 
compile-site-0.10 -P compile-site-0.9 -P compile-site-0.8 compile 
scm-publish:publish-scm -pl site'
-
-                // Clean up the snapshots directory (freeing up more space 
after deploying).
-                dir("target") {
-                    deleteDir()
-                }
-            }
-        }
+//         stage('Deploy site') {
+//             when {
+//                 branch 'master'
+//             }
+//             // Only the nodes labeled 'git-websites' have the credentials 
to commit to the.
+//             agent {
+//                 node {
+//                     label 'git-websites'
+//                 }
+//             }
+//             steps {
+//                 // Publish the site with the scm-publish plugin.
+//                 sh 'mvn -P site -P compile-site -P compile-site-1.0 -P 
compile-site-0.13 -P compile-site-0.12 -P compile-site-0.11 -P 
compile-site-0.10 -P compile-site-0.9 -P compile-site-0.8 compile 
scm-publish:publish-scm -pl site'
+//
+//                 // Clean up the snapshots directory (freeing up more space 
after deploying).
+//                 dir("target") {
+//                     deleteDir()
+//                 }
+//             }
+//         }
 
         stage('Build and UT') {
             when {

Reply via email to