ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] incubator-ignite git commit: # ignite-456: runAllBuilds fix
Date Wed, 20 May 2015 13:50:36 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-456 28cfe8089 -> 1f22ab13f


# ignite-456: runAllBuilds fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/57805914
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/57805914
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/57805914

Branch: refs/heads/ignite-456
Commit: 57805914fb1d43f0128767b05ffe50d49eb0416d
Parents: 28cfe80
Author: null <null>
Authored: Wed May 20 16:43:15 2015 +0300
Committer: null <null>
Committed: Wed May 20 16:43:15 2015 +0300

----------------------------------------------------------------------
 dev-tools/src/main/groovy/jiraslurp.groovy | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/57805914/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 e9f9820..4db6099 100644
--- a/dev-tools/src/main/groovy/jiraslurp.groovy
+++ b/dev-tools/src/main/groovy/jiraslurp.groovy
@@ -293,17 +293,14 @@ args.each {
             applyPatch(jira, attachementURL)
         }
     }
-    else if (parameters.length >= 2 && parameters[0] == "runAllBuilds") {
-        def jiraNum = parameters[1]
-
-        def attachementURL=null
+    else if (parameters.length >= 2 && parameters[0] == "runAllBuilds" &&
parameters[1] != 'null') {
+        def builds = parameters[1].split(' ');
 
-        if (parameters[2] ==~ /\d+/)
-            attachementURL = parameters[2]
+        def jiraNum = parameters[2]
 
-        println "Running in 'all builds' mode with jira number='$jiraNum' and attachment
URL='$attachementURL'."
+        println "Running in 'all builds' mode for builds=$builds with jira number='$jiraNum'."
 
-        runAllTestBuilds jiraNum attachmentURL
+        runAllTestBuilds(builds, jiraNum)
     }
 }
 


Mime
View raw message