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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: maven-plugin
    • None
    • Environment:
      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

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

              Created:
              Updated: