Browse Source

Pull request #9268: REPORT-74100【冒烟】远程BI环境,13个jar全部提示缺失

Merge in DESIGN/design from ~HARRISON/design:release/11.0 to release/11.0

* commit '7afc0411865a2e958b3acd37d910181806c15f9f':
  REPORT-74100【冒烟】远程BI环境,13个jar全部提示缺失 BI 集成的 JAR 或者之前的环境, 这里需要进行判断是否需要进行检查。
release/11.0
Harrison 2 years ago
parent
commit
312db18a0c
  1. 5
      designer-base/src/main/java/com/fr/env/detect/impl/JarLackDetector.java

5
designer-base/src/main/java/com/fr/env/detect/impl/JarLackDetector.java vendored

@ -54,6 +54,11 @@ public class JarLackDetector extends AbstractExceptionDetector {
// 本地情况
List<BuildInfo> localInfos = BuildInfoManager.getInstance().getInfos();
// 说明远程环境并不存在对应的 info.json, 直接忽略
if (Collections.isEmpty(remoteInfos)) {
return DetectorResult.normal(type());
}
Set<String> remoteSet = remoteInfos.stream()
.filter(this::isExistInfo)
.map(BuildInfo::getJar)

Loading…
Cancel
Save