When load parameters from a properties file which file encoding is UTF-8, parameters‘ value is not right.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I have property file notification_params.properties, and the content is:

      MESSAGE=测试
      RECEIVERS=test123@example.com

      I use parameterized-trigger plugin to load parameters from that file and trigger my Test_Notification job. And in my Test_Notification job, I echo these parameters that passed by parameterized-trigger. I got the wrong value of $MESSAGE. But the value of $RECEIVERS is right。

      And I use enca command to check the file encoding of notification_params.properties, the result is:
      Universal transformation format 8 bits; UTF-8

            Assignee:
            huybrechts
            Reporter:
            Song Frank
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: