ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpav...@apache.org
Subject [ignite-teamcity-bot] branch ignite-11105-alias updated: IGNITE-11105 Support Teamcity servers aliases: JIRA ticket for comment and for branch detection separation
Date Wed, 30 Jan 2019 20:31:19 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/ignite-11105-alias by this push:
     new e3b7ba4  IGNITE-11105 Support Teamcity servers aliases: JIRA ticket for comment and
for branch detection separation
e3b7ba4 is described below

commit e3b7ba4ad964775c0f05705394ab564f2c967978
Author: Dmitriy Pavlov <dpavlov@apache.org>
AuthorDate: Wed Jan 30 23:31:15 2019 +0300

    IGNITE-11105 Support Teamcity servers aliases: JIRA ticket for comment and for branch
detection separation
---
 .../main/java/org/apache/ignite/ci/jira/ignited/JiraIgnited.java  | 2 +-
 .../java/org/apache/ignite/ci/jira/ignited/JiraTicketSync.java    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraIgnited.java
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraIgnited.java
index 3477346..bc308e7 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraIgnited.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraIgnited.java
@@ -70,7 +70,7 @@ class JiraIgnited implements IJiraIgnited {
     @Override public Set<Ticket> getTickets() {
         jiraTicketSync.ensureActualizeJiraTickets(srvId);
 
-        return jiraTicketDao.getTickets(srvIdMaskHigh, projectCodeForVisa());
+        return jiraTicketDao.getTickets(srvIdMaskHigh, jira.projectCodeForVisa());
     }
 
     /** {@inheritDoc} */
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraTicketSync.java
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraTicketSync.java
index ae70dc1..46d6324 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraTicketSync.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/jira/ignited/JiraTicketSync.java
@@ -94,8 +94,8 @@ public class JiraTicketSync {
             .map(Field::getName)
             .collect(Collectors.joining(","));
 
-        String projectName = jira.projectCodeForVisa();
-        String baseUrl = "search?jql=" + escape("project=" + projectName + " order by updated
DESC")
+        String projectCode = jira.projectCodeForVisa();
+        String baseUrl = "search?jql=" + escape("project=" + projectCode + " order by updated
DESC")
             + "&" +
             "fields=" + reqFields +
             "&maxResults=100";
@@ -107,7 +107,7 @@ public class JiraTicketSync {
         if (F.isEmpty(page))
             return "Something went wrong - no tickets found. Check jira availability.";
 
-        int ticketsSaved = jiraDao.saveChunk(srvIdMaskHigh, page, jira.projectCodeForVisa());
+        int ticketsSaved = jiraDao.saveChunk(srvIdMaskHigh, page, projectCode);
 
         int ticketsProcessed = page.size();
 
@@ -122,7 +122,7 @@ public class JiraTicketSync {
                 if (F.isEmpty(page))
                     break;
 
-                int savedNow = jiraDao.saveChunk(srvIdMaskHigh, page, jira.projectCodeForVisa());
+                int savedNow = jiraDao.saveChunk(srvIdMaskHigh, page, projectCode);
 
                 ticketsSaved += savedNow;
                 ticketsProcessed += page.size();


Mime
View raw message