wuheng 2 年之前
父节点
当前提交
93263938f9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Jenkinsfile

+ 3 - 3
Jenkinsfile

@@ -1,9 +1,9 @@
 pipeline {
     agent any
+    environment {
+        BRANCH_NAME="${env.BRANCH_NAME}".toLowerCase()
+    }
     stages {
-        environment {
-            BRANCH_NAME="${env.BRANCH_NAME}".toLowerCase()
-        }
         stage('pullCode'){
             steps{
                 echo 'This is a pullCode step'