ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [17/50] incubator-ignite git commit: # ignite-456: fix patchApply start
Date Wed, 27 May 2015 07:08:46 GMT
# 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 <null>
Authored: Thu May 21 14:53:07 2015 +0300
Committer: null <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


Mime
View raw message