Browse Source

testing PR build

Bulat Yusupov 5 years ago
parent
commit
58d1623ae4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Jenkinsfile

+ 4 - 4
Jenkinsfile

@@ -54,11 +54,11 @@ spec:
     }
     }
     stages {
     stages {
         stage('Checkout release branch') {
         stage('Checkout release branch') {
-            when {
-                expression { return env.BRANCH_NAME == 'ci-cd'; }
-            }
+//             when {
+//                 expression { return env.GIT_BRANCH == 'ci-cd'; }
+//             }
             steps {
             steps {
-                sh "echo ${env.BRANCH_NAME}"
+                sh "echo ${env.GIT_BRANCH}"
 //                 git 'https://github.com/provectus/kafka-ui.git'
 //                 git 'https://github.com/provectus/kafka-ui.git'
 //                 sh 'git checkout -b release'
 //                 sh 'git checkout -b release'
             }
             }