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

Text parameters get converted to String

XMLWordPrintable

      I ran across a strange issue:

      • Create a new inheritance job
      • Add a text parameter with some text which includes newlines as default value
      • Save and then click on 'Build with Parameters'

      Then this text parameter has magically become a string parameter and thus lost the newlines.

      Is this a known issue and does anyone know a workaround?

      Jenkins 1.598
      
      java version "1.7.0_75"
      OpenJDK Runtime Environment (rhel-2.5.4.2.el7_0-x86_64 u75-b13)
      OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
      
      CentOS Linux release 7.0.1406 (Core)
      

            Unassigned Unassigned
            appid AppId Man
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: