Jenkins build failed with the following error: unmappable character for encoding ASCII

The cause is that the pom.xml file does not have an encoding specified. Open the pom.xml file and add the following code:
as shown below:

Attachment code download: https://www.cnop.net/uploadfile/2016/1009/20161009045915825.zip