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: attchment url as a paramether
Date Mon, 18 May 2015 15:38:29 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-456 26672b5df -> 77f40a021


# ignite-456: attchment url as a paramether


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

Branch: refs/heads/ignite-456
Commit: 3dc01b53cea65a06f4118f2b609e3585ef5551bb
Parents: 26672b5
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Mon May 18 17:34:08 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Mon May 18 17:34:08 2015 +0300

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


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


Mime
View raw message