Change By: Roger Lopez (26/Sep/12 10:02 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.

{code}
[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="">/usr/bin/ant: line 326: browser-version=: command not found
Buildfile: build.xml
{code}

{code}
[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="">/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". 
{code}

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.


I am running Jenkins ver. 1.476 with Sauce OnDemand plugin ver. 1.21.
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