Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 026b0341 authored by Marion Goedel's avatar Marion Goedel
Browse files

Added TargetChanger ids to UnusedTargetsCheck.java

parent 9ba99d1f
Pipeline #264996 canceled with stages
in 92 minutes and 7 seconds
......@@ -17,6 +17,8 @@ public class UnusedTargetsCheck extends AbstractScenarioCheck implements Topogra
Set<Integer> usedTargetIds = new HashSet<>();
topography.getSources()
.forEach(s -> usedTargetIds.addAll(s.getAttributes().getTargetIds()));
topography.getTargetChangers()
.forEach(s -> usedTargetIds.addAll(s.getAttributes().getNextTarget()));
topography.getTargets().forEach(t -> {
if (!usedTargetIds.contains(t.getId())) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment