Vadim Surkov 7 years ago
parent
commit
197cc34cd5
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

@@ -24,9 +24,10 @@ pipeline {
   }
   stages {
     stage("Build") {
-      when { expression { build_repo != "none" } }
+//      when { expression { build_repo != "none" } }
+      when { build }
       steps {
-        echo "Building with repo $build_repo"
+        echo "Building with repo $repo"
         sh '''pwd
               ls'''
       }