wuheng 2 жил өмнө
parent
commit
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'