Roger Lopez commented on Bug JENKINS-15326

Yes this is still an issue. To make it simple to replicate the issue, I created a gist (https://gist.github.com/3793861) with a simple ant build file. With that repo I can replicate the issue like so:

  1. Create a new job, selecting the "Build multi-configuration project" option. Name the job whatever you want.
  2. Choose git for your SCM and use git://gist.github.com/3793861.git as the repo URL.
  3. Add a "Sauce OnDemand Cross-browser tests" axis. Select any combination of browsers.
  4. Add an "Invoke ant" build step and using the "test" target (without quotes).
  5. Save and build.

The console output varies based on the browser selected. Here are some samples:

Windows 2003 IE6
Started by upstream project "JENKINS-15326" build number 3
Building on master in workspace /Users/zroger/.jenkins/jobs/JENKINS-15326/workspace/SELENIUM_DRIVER/Windows 2003iexploreproxy6
Checkout:Windows 2003iexploreproxy6 / /Users/zroger/.jenkins/jobs/JENKINS-15326/workspace/SELENIUM_DRIVER/Windows 2003iexploreproxy6 - hudson.remoting.LocalChannel@9cd1d3c
Using strategy: Default
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from git://gist.github.com/3793861.git
Commencing build of Revision 30967741d6003357a91d27c04a030e33af1a73f4 (origin/HEAD, origin/master)
Checking out Revision 30967741d6003357a91d27c04a030e33af1a73f4 (origin/HEAD, origin/master)
No change to record in branch origin/HEAD
No change to record in branch origin/master
[Windows 2003iexploreproxy6] $ ant "-DSELENIUM_DRIVER=sauce-ondemand:?os=Windows 2003&browser=iexploreproxy&browser-version=6" '-Darguments="-DSELENIUM_DRIVER=sauce-ondemand:?os=Windows 2003&browser=iexploreproxy&browser-version=6"' test
/usr/bin/ant: line 335: browser-version=6: command not found
Buildfile: /Users/zroger/.jenkins/jobs/JENKINS-15326/workspace/SELENIUM_DRIVER/Windows 2003iexploreproxy6/build.xml

BUILD FAILED
Target "2003" does not exist in the project "JENKINS-15326". 

Total time: 0 seconds
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE
Linux Google Chrome
Started by upstream project "JENKINS-15326" build number 4
Building on master in workspace /Users/zroger/.jenkins/jobs/JENKINS-15326/workspace/SELENIUM_DRIVER/Linuxgooglechrome
Checkout:Linuxgooglechrome / /Users/zroger/.jenkins/jobs/JENKINS-15326/workspace/SELENIUM_DRIVER/Linuxgooglechrome - hudson.remoting.LocalChannel@9cd1d3c
Using strategy: Default
Last Built Revision: Revision 30967741d6003357a91d27c04a030e33af1a73f4 (origin/HEAD, origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from git://gist.github.com/3793861.git
Commencing build of Revision 30967741d6003357a91d27c04a030e33af1a73f4 (origin/HEAD, origin/master)
Checking out Revision 30967741d6003357a91d27c04a030e33af1a73f4 (origin/HEAD, origin/master)
Warning : There are multiple branch changesets here
[Linuxgooglechrome] $ ant -DSELENIUM_DRIVER=sauce-ondemand:?os=Linux&browser=googlechrome&browser-version= -Darguments="-DSELENIUM_DRIVER=sauce-ondemand:?os=Linux&browser=googlechrome&browser-version=" test
/usr/bin/ant: line 335: browser-version=: command not found
Buildfile: /Users/zroger/.jenkins/jobs/JENKINS-15326/workspace/SELENIUM_DRIVER/Linuxgooglechrome/build.xml

test:
     [echo] Hello world

BUILD SUCCESSFUL
Total time: 0 seconds
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE

Hope this helps.

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