瀏覽代碼

Update JenkinsD

Danielshe 5 年之前
父節點
當前提交
3a62568acc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      JenkinsD

+ 1 - 1
JenkinsD

@@ -4,7 +4,7 @@ pipeline {
 
       stage ('Build') {
          when {
-            branch '3.x'
+            expression { env.BRANCH_NAME == '3.x' || env.BRANCH_NAME == '3.x-unstable' }
          }
          steps {
             sh "rm -rf build/libs/"