Details
-
Patch
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Firefox/3.5.10, Debian sid
Description
When the "other" fild is left empty seleniumhq fails with the following error, at least with firefox:
[workspace] $ java -jar /home/marco/Desktop/selenium-server-1.0.3/selenium-server.jar -htmlSuite *firefox http://localhost/ /home/marco/Desktop/testsuite.html /var/lib/hudson/jobs/ewsi/workspace/ewsi-svn/result.html
unrecognized argument :
Usage: java -jar selenium-server.jar [-interactive] [options]
-port <nnnn>: the port number the selenium server should use
(default 4444)
-timeout <nnnn>: an integer number of seconds before we should give
...Publishing Selenium report...
ERROR: Test reports were found but none of them are new. Did tests run?
For example, /var/lib/hudson/jobs/ewsi/workspace/ewsi-svn/result.html is 39 min oldFinished: FAILURE
This is because the plugin just tests if the string with additional arguments is "null", and not if the string ist empty.
The provided patch should fix this.
Attachments
Issue Links
- is related to
-
JENKINS-7246 New jre6 requirement : String.isEmpty
-
- Resolved
-
Code changed in hudson
User: : pascal_martin
Path:
trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SeleniumhqBuilder.java
http://jenkins-ci.org/commit/32969
Log:
fix http://issues.jenkins-ci.org/browse/JENKINS-6996
patch from Roman Fenkhuber