Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E347017CAD for ; Mon, 1 Jun 2015 12:35:48 +0000 (UTC) Received: (qmail 47015 invoked by uid 500); 1 Jun 2015 12:35:48 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 46983 invoked by uid 500); 1 Jun 2015 12:35:48 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 46973 invoked by uid 99); 1 Jun 2015 12:35:48 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 12:35:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5DE1DC0DFB for ; Mon, 1 Jun 2015 12:35:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2KZwy8pZ4jUF for ; Mon, 1 Jun 2015 12:35:38 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 8643E253F9 for ; Mon, 1 Jun 2015 12:35:37 +0000 (UTC) Received: (qmail 46298 invoked by uid 99); 1 Jun 2015 12:35:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 12:35:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 92D2EE051D; Mon, 1 Jun 2015 12:35:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Mon, 01 Jun 2015 12:35:38 -0000 Message-Id: <749e709db19445bebf4e1868120e0439@git.apache.org> In-Reply-To: <6bbf9626ffb4404eb0f409b97c3ce3f6@git.apache.org> References: <6bbf9626ffb4404eb0f409b97c3ce3f6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [03/50] [abbrv] incubator-ignite git commit: # ignite-456: format jira comment # ignite-456: format jira comment Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/26b1d0d3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/26b1d0d3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/26b1d0d3 Branch: refs/heads/ignite-648 Commit: 26b1d0d346bf42abf82ecb48c8c11ebdbe61f659 Parents: c75caba Author: artem.shutak Authored: Tue May 26 21:10:24 2015 +0300 Committer: artem.shutak Committed: Tue May 26 21:10:24 2015 +0300 ---------------------------------------------------------------------- dev-tools/src/main/groovy/jiraslurp.groovy | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/26b1d0d3/dev-tools/src/main/groovy/jiraslurp.groovy ---------------------------------------------------------------------- diff --git a/dev-tools/src/main/groovy/jiraslurp.groovy b/dev-tools/src/main/groovy/jiraslurp.groovy index 93349ef..610060f 100644 --- a/dev-tools/src/main/groovy/jiraslurp.groovy +++ b/dev-tools/src/main/groovy/jiraslurp.groovy @@ -407,10 +407,17 @@ def runAllTestBuilds = {builds, jiraNum -> } } + // Format comment for jira. def triggeredBuildsComment = "There was triggered next test builds for last attached patch-file:\\n" + def n = 1; + triggeredBuilds.each { name, url -> - triggeredBuildsComment += "${name as String} - ${url as String}\\n" + def prefix = n < 10 ? "0" : "" + + triggeredBuildsComment += "${prefix}${n}. ${url as String} - ${name as String}\\n" + + n++ } addJiraComment(jiraNum, triggeredBuildsComment)