Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19990

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • Jenkins version: 1.534
      Parameterized trigger version:2.21
      Jenkins' file.encoding: UTF-8

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              huybrechts huybrechts
              sfeng Song Frank
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: