Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: maven-plugin
-
Labels:None
-
Environment:Jenkins 2.190.3, Windows, Chrome browser, carriage return
-
Similar Issues:
Description
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