This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch ignite-10030
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
The following commit(s) were added to refs/heads/ignite-10030 by this push:
new 7465d4d IGNITE-10030 changes done in prod: Background upload of
changes, problems, and statistics
7465d4d is described below
commit 7465d4d4c36d80102ed16c86cd11a5d270a1b73f
Author: Dmitriy Pavlov <[email protected]>
AuthorDate: Sat Oct 27 22:27:54 2018 +0300
IGNITE-10030 changes done in prod: Background upload of changes, problems,
and statistics
---
.../apache/ignite/ci/tcbot/chain/BuildChainProcessor.java | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
index 602afcb..78cc04c 100644
---
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
+++
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
@@ -189,20 +189,7 @@ public class BuildChainProcessor {
Collection<ChangeCompacted> changes =
tcIgnited.getAllChanges(changeIds);
ctx.setChanges(changes);
- //todo migrate rest of the method to fat build from TC ignited
- Build build = teamcity.getBuild(buildRef.getId());
-
- if (build == null || build.isFakeStub())
- return ctx;
-
- if (build.lastChanges != null) {
- for (ChangeRef next : build.lastChanges.changes) {
- if(!isNullOrEmpty(next.href)) {
- // just to cache this change
- teamcity.getChange(next.href);
- }
- }
- }
+ //todo support storing build.lastChanges.changes) ?
return ctx;
}