in commit-status-publisher-server/src/main/java/jetbrains/buildServer/swarm/SwarmClient.java [517:535]
private void fillTestRunUsingAttr(@NotNull JsonNode element, @NotNull String attribute) {
final JsonNode completedTime = element.get("completedTime");
final JsonNode status = element.get("status");
final JsonNode test = element.get(attribute);
if (test != null && myExpectedTestName.equals(test.textValue()) &&
(completedTime == null || completedTime.isNull() || "running".equals(status.textValue()))) {
if (mySwarmUrl != null) {
String uuid = mySwarmTestUuidIfCreatedByTc;
JsonNode uuidAttr = element.get("uuid");
if (uuidAttr != null) {
uuid = uuidAttr.asText();
}
if (uuid != null) {
mySwarmRuns.add(new SwarmTestUpdateUrl(mySwarmUrl, element.get("id").longValue(), uuid));
}
}
}
}