소스 검색

CompileHandler 中添加对 CompileType.none 的处理

reghao 2 년 전
부모
커밋
bac2c07c36
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      common/src/main/java/cn/reghao/devops/common/build/chain/impl/CompileHandler.java

+ 2 - 0
common/src/main/java/cn/reghao/devops/common/build/chain/impl/CompileHandler.java

@@ -33,6 +33,8 @@ public class CompileHandler extends Handler<BuildChainParam, BuildChainResult> {
             codeCompiler.compile(appId, compileDir, appDto.getEnv(), appDto.getAppRootPath());
         } else if (compileType.equals(CompileType.shell.getName())) {
             codeCompiler.compile(appId, compileDir);
+        } else if (compileType.equals(CompileType.none.getName())) {
+
         } else {
             String errMsg = String.format("unknown compile type %s with app %s", compileType, appId);
             throw new Exception(errMsg);