Bamboo Error Log XML UTF-8 Problem with JUnit parer

hi

in my bamboo project i have JUnit parer where all Jnuit Report Errors will be displayed via.

The XML is in UTF-8 Format <?xml version="1.0" encoding="UTF-8" ?>

Problem: in Bamboo Plan the UFT 8 is not working..

This is what i wanna see:
expecting [中国河北省邢台市南宫市], actual was [中国河北省邢台市]

This is what i see in my Report ERROR in bamboo:

[Match content of [Label]] XPathContains comparison failed, expecting [????], actual was [??????‚]


Any ideas whats wrong??

3 answers

It seems that you encountered issue, where the file encoding is not passed through the parameter in Bamboo. There was a similar case before and adding an encoding parameter into <BAMBOO_INSTALL>/conf/wrapper.conf file seems to solve the problem. Here's the parameter that you need to add.

wrapper.java.additional.X=-Dfile.encoding=utf-8

Please bear in mind that the "X" is the number that is after the last number on the parameter passing on the same file, and please restart Bamboo Server after doing this. For more information please refer to this knowledge base article.

If it didn't help, you might need to add this parameter to the remote agent as well (inside <AGENT_HOME>/conf/wrapper.conf file). After making changes, you have to restart the remote agent just like the Bamboo Server.

thx for your help..i will ry..

do the bamboo server has to restart after the config changes??

hi

change did not work.. still have the same problem!
expecting [????], actual was [??????‚] in Error Log

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 12 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

59 views 3 4
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you