asfgit closed pull request #17: IGNITE-9541 Hotfix URL: https://github.com/apache/ignite-teamcity-bot/pull/17
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgniteTeamcityConnection.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgniteTeamcityConnection.java index 9ddd68a..65ece8d 100644 --- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgniteTeamcityConnection.java +++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/IgniteTeamcityConnection.java @@ -486,7 +486,8 @@ public String basicAuthToken() { String branchFilter = isNullOrEmpty(branchName) ? "" :",branch:" + branchName; String sinceDateFilter = sinceDate == null ? "" : ",sinceDate:" + getDateYyyyMmDdTHhMmSsZ(sinceDate); String untilDateFilter = untilDate == null ? "" : ",untilDate:" + getDateYyyyMmDdTHhMmSsZ(untilDate); - String buildNoFilter = sinceBuildId == null ? "" : ",sinceBuild:(id:" + sinceBuildId + ")"; + String buildNoFilter = sinceBuildId == null || !(sinceDateFilter.isEmpty() && untilDateFilter.isEmpty()) ? + "" : ",sinceBuild:(id:" + sinceBuildId + ")"; return sendGetXmlParseJaxb(host + "app/rest/latest/builds" + "?locator=" ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services