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, ...

    • 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

          [JENKINS-61695] Maven_Opts text area squeezes into one line in Jenkins Build Configuration using browsers Chrome, Firefox, ...

          Prabin Shrestha created issue -
          Prabin Shrestha made changes -
          Assignee New: Prabin Shrestha [ prabin20 ]
          Prabin Shrestha made changes -
          Assignee Original: Prabin Shrestha [ prabin20 ]
          Prabin Shrestha made changes -
          Description Original: Recently I had upgraded Jenkins 2.150.2 to 2.190.3 . When I browse Jenkins using Chrome, or Firefox, the spaces between environment variables set in the text area of Maven_Opts remove and squeeze into one line after saving the Jenkins configuration and causing the build to break. But there is no any issue while browsing from Internet Explorer and Microsoft Edge. Is there anyone who can provide me solution for this issue ? New:
          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

           

           
          Prabin Shrestha made changes -
          Issue Type Original: Task [ 3 ] New: Bug [ 1 ]
          Prabin Shrestha made changes -
          Description Original:
          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

           

           
          New: 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: