SomeFire commented on a change in pull request #27: IGNITE-9770 Add 'Re-run possible blockers' button URL: https://github.com/apache/ignite-teamcity-bot/pull/27#discussion_r223332273
########## File path: ignite-tc-helper-web/src/main/webapp/js/testfails-2.1.js ########## @@ -355,59 +384,82 @@ function triggerBuild(serverId, suiteId, branchName, top, observe, ticketId) { }); } -function triggerBuilds(serverId, suiteIdList, branchName, top) { - var res = "Trigger builds at server: " + serverId + "<br>" + - "Branch:" + branchName + "<br>Top: " + top + "<br>"; +function triggerBuilds(serverId, suiteIdList, branchName, top, observe, ticketId) { + var possibleBlockersNotFound = suiteIdList.length === 0; + var res = ""; - var partsOfStr = suiteIdList.split(','); + if (possibleBlockersNotFound) { Review comment: Remove braces for one-line `if` statement. ---------------------------------------------------------------- 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