You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/12/10 08:54:31 UTC

[iotdb] branch deplo created (now b528107)

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

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


      at b528107  Fix deploying site fail caused by CI

This branch includes the following new commits:

     new b528107  Fix deploying site fail caused by CI

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.


[iotdb] 01/01: Fix deploying site fail caused by CI

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

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

commit b528107e082ee426f3481eb17888cbe19371dd7c
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Dec 10 16:53:48 2021 +0800

    Fix deploying site fail caused by CI
---
 Jenkinsfile | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0d64df0..9f809b5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -58,6 +58,27 @@ 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-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 (not master)') {
             when {
                 expression {
@@ -124,27 +145,6 @@ 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-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('Cleanup') {
             steps {
                 echo 'Cleaning up the workspace'