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

Maven_Opts text area squeezes into one line in Jenkins Build Configuration using browsers Chrome, Firefox, ...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • None
    • Jenkins 2.190.3, Windows, Chrome browser, carriage return

      Recently I had upgraded Jenkins 2.150.2 to 2.190.3 . I am seeing issue setting the Maven_Opts(in Build/Advanced) in Chrome, Firefox, edge browsers. I give space between the maven options. After saving the configuration, the spaces between the options are truncated and causing the build to break.

      Before saving the configuration
      -Ddriver.name=chromeDriver -Dvm.count=0 -Dbuildid=$BUILD_NUMBER

      After saving the configuration
      -Ddriver.name=chromeDriver-Dvm.count=0-Dbuildid=$BUILD_NUMBER

      Same issue exists when the options are given in new line

      Before saving the configuration
      -Ddriver.name=chromeDriver
      -Dvm.count=0
      -Dbuildid=$BUILD_NUMBER

      After saving the configuration
      -Ddriver.name=chromeDriver-Dvm.count=0-Dbuildid=$BUILD_NUMBER

      Note: This issue is not seen in Internet Explorer

            Unassigned Unassigned
            prabin20 Prabin Shrestha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: