Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: sauce-ondemand
Created: 26/Sep/12 9:59 PM
Description:

I have set up a matrix job with the same configuration as a working non-matrix job. I have a single build step that invokes a simple ant target. On the Sauce axis, I have chosen two browser configs and on the Slaves axis, I have chosen a single slave. This yields two jobs.

When the two jobs run, there is an ant error which seems to be failing because of the way that the SELENIUM_DRIVER argument is passed to ant.

[rh2vagrant] $ ant -DSELENIUM_DRIVER=sauce-ondemand:?os=Linux&browser=googlechrome&browser-version= -Darguments="-DSELENIUM_DRIVER=sauce-ondemand:?os=Linux&browser=googlechrome&browser-version=" -Dlabel=rh2vagrant -Dbehat.profile="" ci
/usr/bin/ant: line 326: browser-version=: command not found
Buildfile: build.xml

[rh2vagrant] $ ant "-DSELENIUM_DRIVER=sauce-ondemand:?os=Windows 2008&browser=iexploreproxy&browser-version=9" '-Darguments="-DSELENIUM_DRIVER=sauce-ondemand:?os=Windows 2008&browser=iexploreproxy&browser-version=9"' -Dlabel=rh2vagrant -Dbehat.profile="" ci
/usr/bin/ant: line 326: browser-version=9: command not found
Buildfile: build.xml

BUILD FAILED
Target "2008" does not exist in the project "behat".

In the first output, the SELENIUM_DRIVER argument is completely unquoted, while in the second output, the entire thing, including the -D is in quotes.

Could I be doing something wrong? Any help is greatly appreciated.

Project: Jenkins
Priority: Major Major
Reporter: Roger Lopez
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to