asfgit closed pull request #26: add git and JIRA URL samples URL: https://github.com/apache/ignite-teamcity-bot/pull/26
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/conf/apache.auth.properties b/conf/apache.auth.properties index 653d082..c0ff1cf 100644 --- a/conf/apache.auth.properties +++ b/conf/apache.auth.properties @@ -1,3 +1,6 @@ host=https://ci.ignite.apache.org/ -logs=apache_logs \ No newline at end of file +logs=apache_logs + +git.api_url=https://api.github.com/repos/apache/ignite/ +jira.api_url=https://issues.apache.org/jira/rest/api/2/ diff --git a/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js b/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js index 8f15680..3a4688d 100644 --- a/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js +++ b/ignite-tc-helper-web/src/main/webapp/js/common-1.6.js @@ -326,8 +326,10 @@ function _fillGitUrls(result) { * @private */ function _sendRequestsToFillAutocompleteLists() { - for (var entry of gitUrls.entries()) - scriptRequest(entry[1] + "pulls?sort=updated&direction=desc", _fillBranchAutocompleteList); + for (var entry of gitUrls.entries()) { + if (entry[1]) + scriptRequest(entry[1] + "pulls?sort=updated&direction=desc", _fillBranchAutocompleteList); + } } /** ---------------------------------------------------------------- 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