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

Reply via email to