Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
Description
Maven build step put all build variables on command line as properties. This causes problems when special characters are used. This happens often when non-trivial label expressions are used: -Dlabel_exp=w2k8&&x86.
Attachments
Issue Links
- is related to
-
JENKINS-25416 text parameter with newlines causing the default goal run
-
- Resolved
-
-
JENKINS-31986 OS-related problems with Maven parameters (from job or from build step)
-
- Open
-
-
JENKINS-28790 Sonar database credentials in build console output not masked since LTS version 1.596.3
-
- Resolved
-
Code changed in jenkins
User: Oliver Gondža
Path:
core/src/main/java/hudson/tasks/Maven.java
http://jenkins-ci.org/commit/jenkins/9e30f50065b8bb213c6571f325e5e1d5008281ce
Log:
[FIXED JENKINS-26684] Escape special chars in maven build step arguments
(cherry picked from commit 58a41bcb182290de681da01ba277b5e0d6211707)