wuheng 2 năm trước cách đây
mục cha
commit
93263938f9
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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'