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/17 07:40:06 UTC

[incubator-iotdb-website] branch master updated: claim the master is deprecated; stop jenkins file

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7e61cbe  claim the master is deprecated; stop jenkins file
7e61cbe is described below

commit 7e61cbee321666a63817003c6ab1528f0dc00edc
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Fri Apr 17 15:39:52 2020 +0800

    claim the master is deprecated; stop jenkins file
---
 Jenkinsfile | 148 ++++++++++++++++++++++++++++++------------------------------
 README.md   |  12 +++++
 2 files changed, 87 insertions(+), 73 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5a5ac1f..487f4b0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -35,80 +35,82 @@ pipeline {
             }
         }
 
-        stage('Install Dependencies') {
-          steps {
-            echo 'Installing Dependencies'
-            sh 'npm install'
-          }
-        }
-
-        stage('Build') {
-            steps {
-                echo 'Building'
-                sh 'npm run build'
-            }
-        }
-
-        stage('Deploy') {
-            steps {
-                echo 'Deploying'
-                // Deploy the artifacts using the wagon-maven-plugin.
-                sh 'npm run deploy'
-            }
-        }
-    }
-
-    // Send out notifications on unsuccessful builds.
-    post {
-        // If this build failed, send an email to the list.
-        failure {
-            script {
-                    emailext(
-                        subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                        body: """
-BUILD-FAILURE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
+        //the master branch is deprecated
 
-Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
-""",
-                        to: "dev@iotdb.apache.org",
-                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
-                    )
-            }
-        }
-
-        // If this build didn't fail, but there were failing tests, send an email to the list.
-        unstable {
-            script {
-                    emailext(
-                        subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                        body: """
-BUILD-UNSTABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
-
-Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
-""",
-                        to: "dev@iotdb.apache.org",
-                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
-                    )
-            }
-        }
-
-        // Send an email, if the last build was not successful and this one is.
-        success {
-            script {
-                if ((currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {
-                    emailext (
-                        subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                        body: """
-BUILD-STABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
-
-Is back to normal.
-""",
-                        to: "dev@iotdb.apache.org",
-                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
-                    )
-                }
-            }
-        }
+//        stage('Install Dependencies') {
+//          steps {
+//            echo 'Installing Dependencies'
+//            sh 'npm install'
+//          }
+//        }
+//
+//        stage('Build') {
+//            steps {
+//                echo 'Building'
+//                sh 'npm run build'
+//            }
+//        }
+//
+//        stage('Deploy') {
+//            steps {
+//                echo 'Deploying'
+//                // Deploy the artifacts using the wagon-maven-plugin.
+//                sh 'npm run deploy'
+//            }
+//        }
+//    }
+//
+//    // Send out notifications on unsuccessful builds.
+//    post {
+//        // If this build failed, send an email to the list.
+//        failure {
+//            script {
+//                    emailext(
+//                        subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
+//                        body: """
+//BUILD-FAILURE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
+//
+//Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
+//""",
+//                        to: "dev@iotdb.apache.org",
+//                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
+//                    )
+//            }
+//        }
+//
+//        // If this build didn't fail, but there were failing tests, send an email to the list.
+//        unstable {
+//            script {
+//                    emailext(
+//                        subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
+//                        body: """
+//BUILD-UNSTABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
+//
+//Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
+//""",
+//                        to: "dev@iotdb.apache.org",
+//                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
+//                    )
+//            }
+//        }
+//
+//        // Send an email, if the last build was not successful and this one is.
+//        success {
+//            script {
+//                if ((currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {
+//                    emailext (
+//                        subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
+//                        body: """
+//BUILD-STABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
+//
+//Is back to normal.
+//""",
+//                        to: "dev@iotdb.apache.org",
+//                        recipientProviders: [[$class: 'DevelopersRecipientProvider']]
+//                    )
+//                }
+//            }
+//        }
     }
 
 }
diff --git a/README.md b/README.md
index 8d6d16f..8166e3c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,15 @@
+# Notice
+
+The source code has been moved to: 
+
+https://github.com/apache/incubator-iotdb/tree/master/site
+
+
+This master branch is deprecated and will be removed in the future
+
+
+The asf-site branch is the compiled static HTMLs.
+
 # IoTDB website
 
 [![Build Status](https://builds.apache.org/view/I/view/IoTDB/job/IoTDB%20Website/badge/icon)](https://builds.apache.org/view/I/view/IoTDB/job/IoTDB%20Website/)