This seems to be a problem in your build. Does the build run correctly
without jenkins on that Windows machine? Did you specify the encoding in
your pom.xml? (For some tools like checkstyle you need to add a
-Dfile.encoding="UTF-8" on the maven command line).
Ulli
On 05/13/2012 04:07 AM, Sebastian Kwiatkowski wrote:
Hello,
I'm trying to build a Java project with Jenkins 1.463 on Windows. One
unit test source code file contains the right single quotation mark
(u+2019). When I run the test in IntelliJ, it passes. However, when
the test is ran as part of the Jenkins build process, it fails:
junit.framework.ComparisonFailure: expected:<[’]> but was:<[’]>
The expected value in the code is this:
private String UnescapedRightSingleQuotationMark = "’";
I have not changed any Jenkins settings other than paths to the JDK
and Maven. The unit testing framework is JUnit 4.10.
Do I have to change some settings related to file encoding?
I would appreciate your help.
Thank you,
Sebastian Kwiatkowski