Vadim Surkov 7 년 전
부모
커밋
5ec4253e1b
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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"