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

Properties file injected contains carriage returns "^M"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • configfileprovider:3.8.1

      When using a Proprties file with credentials, the injected property file has carriage returns "^M" (in my example, test3 is the injected credentials):

      cat -vet /home/jenkins/.myconfig
      test1=test^M$
      test2=test^M$
      test3=XXXX$
      

      If I don't use a credentials but simply properties, the file does not have carriage returns:

      cat -vet /home/jenkins/.myconfig
      test1=test$
      test2=test$
      

            Unassigned Unassigned
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: