Repository: incubator-ignite Updated Branches: refs/heads/ignite-456 8dbc9fe5b -> 73ca98fcc
# ignite-456: each Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/31cbd5f9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/31cbd5f9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/31cbd5f9 Branch: refs/heads/ignite-456 Commit: 31cbd5f9a9c6d715cc41fa3db629702c99de2bdd Parents: 8dbc9fe Author: Artem Shutak <[email protected]> Authored: Fri May 15 17:11:11 2015 +0300 Committer: Artem Shutak <[email protected]> Committed: Fri May 15 17:11:11 2015 +0300 ---------------------------------------------------------------------- dev-tools/src/main/groovy/jiraslurp.groovy | 26 ++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/31cbd5f9/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 29fdece..1e81042 100644 --- a/dev-tools/src/main/groovy/jiraslurp.groovy +++ b/dev-tools/src/main/groovy/jiraslurp.groovy @@ -130,20 +130,24 @@ def JIRA_xml = { jiranum -> } def runAllTestBuilds = { jiraNum -> - def buildCommand = - "<build>" + - "<buildType id='Ignite_IgniteBasic'/>" + - "<properties>" + - "<property name='env.JIRA_NUM' value='$jiraNum'/>" + - "</properties>" + - "</build>"; + [Ignite_IgniteBasic, Ignite_IgniteCache].each { + println it + def buildCommand = + "<build>" + + "<buildType id='$it'/>" + + "<properties>" + + "<property name='env.JIRA_NUM' value='$jiraNum'/>" + + "</properties>" + + "</build>"; - def runTcBuild = "curl -v http://%TASK_RUNNER_USER%:%TASK_RUNNER_PWD%@10.30.0.229:80/httpAuth/app/rest/buildQueue " + - "-H \"Content-Type: application/xml\" " + - "-d \"${buildCommand}\"" - checkprocess runTcBuild.execute() + def runTcBuild = "curl -v http://%TASK_RUNNER_USER%:%TASK_RUNNER_PWD%@10.30.0.229:80/httpAuth/app/rest/buildQueue " + + "-H \"Content-Type: application/xml\" " + + "-d \"${buildCommand}\"" + + checkprocess runTcBuild.execute() + } } args.each {
