Endevor Webhooks to jenkins invalid data

Document ID : KB000097805
Last Modified Date : 15/06/2018
Show Technical Document Details
Issue:
We have implemented Endevor Webhooks and one of our teams have installed the Jenkins Generic Webhook plugin to consume the webhooks in Jenkins. At the moment the team says that they are getting 'junk' being posted, see below output - 

Generic Cause 
Building in workspace /var/lib/jenkins/workspace/Endevor_webhook 
GenericWebhookEnvironmentContributor 
Received: 

À�?£???£¨??zÅÓÔk�?£???zä×ÄÁãÅk�?£????�£?zòðñøðõòñk�?£???£???zñõóøôðñók�?£???¤¢????zÇòôóø÷ôk�?£???????zâñóùóõõðk�?£?????????£z×ÙÖÑz@ÙÆÂ@ÂÕâ@ÃÈÁÕÇÅâk�?£????�??�????zk?????¢¢?????¤?zçÂççççççk?�¢£?????¢¢??zÇÓÉÕÒk¥??¢?????¥??zðñððk?�¢£??¥???�£?zòðñøðõðók?�¢£??¥??£???zñðõöðööòk¢?£??�??zÓ??¨?¢@Â�?????@Ç??¤?k??????£?�??zÑÇôõöøöÅk£???¥???????£zÄÅåôÁk£?¢¨¢£??zÃââk£?¢¤?¢¨¢£??zÖÆÆÃâÙk£?£¨??zÓÉÕÒÅÄÉãk£?¢£�??ÉÄzÁk�?£?????£¤??????zðððôР


[Endevor_webhook] $ /bin/sh -xe /tmp/jenkins7237386503096171106.sh 
+ echo 

Finished: SUCCESS 

Should the be doing some type of character conversion?
Environment:
CA ALC 3.x
Resolution:
It means youv are not starting the Tomcat server with the appropriate Java property to indicate the Endevor payloads should be picked up in EBCIDIC: 

-Dmf.webhook.file.encoding=cp01140