-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
Affects Version/s: None
-
Component/s: None
-
None
-
Severity 3 - Minor
See also --.CLOV-1956
In case HUDSON_HOME contains space character, build with Hudson Clover Plugin fails because -lib is quoted twice. It happens in both cases:
- when put in quotes is enabled
[workspace] $ ant clover.fullclean clean test.run -d -Dclover.skip.current=true -Dclover.optimization.enabled=false -lib '"/Users/mparfianowicz/.hudson 3.3.3/plugins/clover/WEB-INF/lib/clover-4.1.2.jar"' -listener com.atlassian.clover.ci.AntIntegrationListener '-Dclover.license.path="/Users/mparfianowicz/.hudson 3.3.3/jobs/abc/workspace/.clover/clover.license"' Apache Ant(TM) version 1.9.6 compiled on June 29 2015 Trying the default build file: build.xml Buildfile: /Users/mparfianowicz/.hudson 3.3.3/jobs/abc/workspace/build.xml BUILD FAILED Class not found: com.atlassian.clover.ci.AntIntegrationListener
- when put in quotes is disabled
[workspace] $ ant clover.fullclean clean test.run -d -Dclover.skip.current=true -Dclover.optimization.enabled=false -lib '"/Users/mparfianowicz/.hudson 3.3.3/plugins/clover/WEB-INF/lib/clover-4.1.2.jar"' -listener com.atlassian.clover.ci.AntIntegrationListener "-Dclover.license.path=/Users/mparfianowicz/.hudson 3.3.3/jobs/abc/workspace/.clover/clover.license" Apache Ant(TM) version 1.9.6 compiled on June 29 2015 Trying the default build file: build.xml Buildfile: /Users/mparfianowicz/.hudson 3.3.3/jobs/abc/workspace/build.xml BUILD FAILED Class not found: com.atlassian.clover.ci.AntIntegrationListener
Note that '-lib ..clover.jar' is always put in double quotes by AntIntegrator.
Probable fix:
- honour putValuesInQuotes property for -lib or
- do not put in quotes at all