Vadim Surkov hace 7 años
padre
commit
5ec4253e1b
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      Jenkinsfile

+ 4 - 1
Jenkinsfile

@@ -17,7 +17,10 @@ pipeline {
   stages {
     stage("Build") {
       when { 
-        expression { build_repo != null || not build_repo.empty }
+        allOf {
+          expression { build_repo != null }
+          expression { not build_repo.empty }
+        }
       }
       steps {
         echo "Building with repo $build_repo and updating $service_update"