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:46:40 UTC

[iotdb] branch rel/1.1 updated: [To rel/1.1] Update Jenkinsfile

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

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


The following commit(s) were added to refs/heads/rel/1.1 by this push:
     new 9c9f93b117 [To rel/1.1] Update Jenkinsfile
9c9f93b117 is described below

commit 9c9f93b11736d1d3a257b2bab6c01d2553587021
Author: Haonan <hh...@outlook.com>
AuthorDate: Thu Apr 6 14:46:35 2023 +0800

    [To rel/1.1] Update Jenkinsfile
---
 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
+}