You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by cd...@apache.org on 2018/12/20 12:44:43 UTC

[incubator-iotdb-website] branch master updated: Update ...

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

cdutz 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 3de75aa  Update ...
3de75aa is described below

commit 3de75aa8c32a913cb79ff5c6682380fd9d4ac72d
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Thu Dec 20 13:44:35 2018 +0100

    Update ...
---
 Jenkinsfile | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 91affc7..2a50c15 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -36,9 +36,6 @@ pipeline {
         }
 
         stage('Build') {
-            when {
-              branch 'master'
-            }
             steps {
                 echo 'Building'
                 sh 'npm run build'
@@ -46,9 +43,6 @@ pipeline {
         }
 
         stage('Deploy') {
-            when {
-              branch 'master'
-            }
             steps {
                 echo 'Deploying'
                 // Deploy the artifacts using the wagon-maven-plugin.
@@ -63,7 +57,6 @@ pipeline {
         // If this build failed, send an email to the list.
         failure {
             script {
-                if(env.BRANCH_NAME == "master") {
                     emailext(
                         subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
                         body: """
@@ -74,14 +67,12 @@ Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
                         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 {
-                if(env.BRANCH_NAME == "master") {
                     emailext(
                         subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
                         body: """
@@ -92,14 +83,13 @@ Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
                         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 ((env.BRANCH_NAME == "master") && (currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {
+                if ((currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {
                     emailext (
                         subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
                         body: """