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 2023/04/06 06:47:43 UTC

[iotdb] branch master updated: Update Jenkinsfile for nightly build

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 661430f00c Update Jenkinsfile for nightly build
661430f00c is described below

commit 661430f00cc267cd060081e9cf8613704e37f318
Author: Haonan <hh...@outlook.com>
AuthorDate: Thu Apr 6 14:47:38 2023 +0800

    Update Jenkinsfile for nightly build
---
 Jenkinsfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 23b28677b8..882ad419ee 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -158,7 +158,9 @@ pipeline {
 
         stage('Deploy') {
             when {
-                branch 'master'
+                expression {
+                    env.BRANCH_NAME ==~ "(master)|(rel/.*)"
+                }
             }
             steps {
                 echo 'Deploying'
@@ -229,4 +231,4 @@ Is back to normal.
         }
     }
 
-}
\ No newline at end of file
+}