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 C777317C15 for ; Wed, 27 May 2015 07:08:33 +0000 (UTC) Received: (qmail 72427 invoked by uid 500); 27 May 2015 07:08:33 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 72396 invoked by uid 500); 27 May 2015 07:08:33 -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 72387 invoked by uid 99); 27 May 2015 07:08:33 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 07:08:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4107F1822A3 for ; Wed, 27 May 2015 07:08:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 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] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JM1eOesSwpcO for ; Wed, 27 May 2015 07:08:32 +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 C469324A5F for ; Wed, 27 May 2015 07:08:31 +0000 (UTC) Received: (qmail 72301 invoked by uid 99); 27 May 2015 07:08:30 -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; Wed, 27 May 2015 07:08:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 901A5E0D59; Wed, 27 May 2015 07:08:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agoncharuk@apache.org To: commits@ignite.incubator.apache.org Date: Wed, 27 May 2015 07:08:46 -0000 Message-Id: In-Reply-To: <9e11ee5ff63342a5b1ce2d78e90bad4e@git.apache.org> References: <9e11ee5ff63342a5b1ce2d78e90bad4e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [17/50] incubator-ignite git commit: # ignite-456: fix patchApply start # ignite-456: fix patchApply start Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/51d32fc3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/51d32fc3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/51d32fc3 Branch: refs/heads/ignite-389 Commit: 51d32fc3c99b2e582feb8ab774aeafef8a345b7f Parents: 51ae1a3 Author: null Authored: Thu May 21 14:53:07 2015 +0300 Committer: null Committed: Thu May 21 14:53:07 2015 +0300 ---------------------------------------------------------------------- dev-tools/src/main/groovy/jiraslurp.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/51d32fc3/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 0b8f090..32a6e43 100644 --- a/dev-tools/src/main/groovy/jiraslurp.groovy +++ b/dev-tools/src/main/groovy/jiraslurp.groovy @@ -363,8 +363,8 @@ args.each { runAllTestBuilds(builds, k) } } - else if (parameters.length > 1 && parameters[0] == "patchApply") { - if (parameters.length < 2 || parameters[1] !=~ /\w+-\d+/) { + else if (parameters.length >= 1 && parameters[0] == "patchApply") { + if (parameters.length < 2 || parameters[1] == 'null') { println "There is no jira number to apply. Exit." return