You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/12/05 12:39:17 UTC

[ignite-teamcity-bot] branch master updated (998ccee -> 25b6040)

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git.


    from 998ccee  IGNITE-10071 Fix for case then background upload of a build and simultaneous bot restart may result in a queued build persisted but actually build is finished - Fixes #86.
     new 550a96f  IGNITE-10540 Compare builds page with Internal Server Error 500. - Fixes #87.
     new 25b6040  Version update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/ignite/ci/tcbot/builds/CompareBuildsService.java  | 9 +++++++--
 .../src/main/java/org/apache/ignite/ci/web/model/Version.java    | 2 +-
 .../java/org/apache/ignite/ci/web/rest/build/CompareBuilds.java  | 2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)


[ignite-teamcity-bot] 02/02: Version update

Posted by dp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git

commit 25b6040cdbc47edf3bd25da0f58388978da5a36b
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Wed Dec 5 15:39:15 2018 +0300

    Version update
---
 .../src/main/java/org/apache/ignite/ci/web/model/Version.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java
index 2b6fae3..dd0b9ef 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/model/Version.java
@@ -25,7 +25,7 @@ package org.apache.ignite.ci.web.model;
     public static final String GITHUB_REF = "https://github.com/apache/ignite-teamcity-bot";
 
     /** TC Bot Version. */
-    public static final String VERSION = "20181203";
+    public static final String VERSION = "20181205";
 
     /** TC Bot Version. */
     public String version = VERSION;


[ignite-teamcity-bot] 01/02: IGNITE-10540 Compare builds page with Internal Server Error 500. - Fixes #87.

Posted by dp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git

commit 550a96f373c2ce6cf5159ef856f6cd395ba96ab5
Author: Дмитрий Рябов <So...@gmail.com>
AuthorDate: Wed Dec 5 15:38:55 2018 +0300

    IGNITE-10540 Compare builds page with Internal Server Error 500. - Fixes #87.
    
    Signed-off-by: Dmitriy Pavlov <dp...@apache.org>
---
 .../org/apache/ignite/ci/tcbot/builds/CompareBuildsService.java  | 9 +++++++--
 .../java/org/apache/ignite/ci/web/rest/build/CompareBuilds.java  | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/builds/CompareBuildsService.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/builds/CompareBuildsService.java
index e420ca4..8ca0b24 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/builds/CompareBuildsService.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/builds/CompareBuildsService.java
@@ -40,12 +40,17 @@ public class CompareBuildsService {
     private static final Logger logger = LoggerFactory.getLogger(CompareBuildsService.class);
 
     @Inject ITcServerProvider helper;
-    @Inject ICredentialsProv prov;
     @Inject BuildChainProcessor bcp;
     @Inject ITeamcityIgnitedProvider tcIgnitedProv;
     @Inject IStringCompactor compactor;
 
-    public List<String> tests0(String srvId, Integer buildId ) {
+    /**
+     * @param srvId Server id.
+     * @param buildId Build id.
+     * @param prov Credentials provider.
+     * @return List of build tests.
+     */
+    public List<String> tests0(String srvId, Integer buildId, ICredentialsProv prov ) {
         IAnalyticsEnabledTeamcity teamcity = helper.server(srvId, prov);
 
         String hrefById = teamcity.getBuildHrefById(buildId);
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/build/CompareBuilds.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/build/CompareBuilds.java
index e46ce5a..87db6cf 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/build/CompareBuilds.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/build/CompareBuilds.java
@@ -123,6 +123,6 @@ public class CompareBuilds {
         if (!prov.hasAccess(srv))
             throw ServiceUnauthorizedException.noCreds(srv);
 
-        return compareBuildsSvc.tests0(srv, buildId);
+        return compareBuildsSvc.tests0(srv, buildId, prov);
     }
 }