wuheng il y a 2 ans
Parent
commit
93263938f9
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  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'