Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: pipeline-maven-plugin
-
Environment:Windows
Jenkins version 2.93
pipeline-maven-plugin version: 3.0.3 & 3.0.4
-
Similar Issues:
Description
Can't find maven provided by jenkins global tools configuration. Jenkins is installed in "c:\program files (x86)\Jenkins" (with whitespaces in path).
Fails since version 3.0.3.
Snippet of console output:
13:34:03.852 [withMaven] use Maven installation 'Maven 3.5.0' [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] bat 13:34:04.117 [workspace] Running batch script 13:34:04.377 13:34:04.378 {workspacePath}>mvn -f ./{pathToPom} clean 13:34:04.379 ----- withMaven Wrapper script ----- 13:34:04.379 Der Befehl "C:\Program" ist entweder falsch geschrieben oder 13:34:04.379 konnte nicht gefunden werden.
Attachments
Issue Links
- is related to
-
JENKINS-48264 regression: 3.0.3 no longer supports whitespaces in job name
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Can't find maven provided by jenkins global tools configuration. Jenkins is installed in c:\program files (x86)\Jenkins. Fails since version 3.0.3. Snippet of console output: *13:34:03.852* [withMaven] use Maven installation 'Maven 3.5.0' [Pipeline] \{ [Pipeline] script [Pipeline] \{ [Pipeline] bat*13:34:04.117* [workspace] Running batch script*13:34:04.377* *13:34:04.378* \{workspacePath}>mvn -f ./\{pathToPom} clean *13:34:04.379* ----- withMaven Wrapper script -----*13:34:04.379* Der Befehl "C:\Program" ist entweder falsch geschrieben oder*13:34:04.379* konnte nicht gefunden werden. provided by jenkins via global configuration |
Can't find maven provided by jenkins global tools configuration. Jenkins is installed in c:\program files (x86)\Jenkins. Fails since version 3.0.3. Snippet of console output: *13:34:03.852* [withMaven] use Maven installation 'Maven 3.5.0' [Pipeline] \{ [Pipeline] script [Pipeline] \{ [Pipeline] bat*13:34:04.117* [workspace] Running batch script*13:34:04.377* *13:34:04.378* \{workspacePath}>mvn -f ./\{pathToPom} clean *13:34:04.379* ----- withMaven Wrapper script -----*13:34:04.379* Der Befehl "C:\Program" ist entweder falsch geschrieben oder*13:34:04.379* konnte nicht gefunden werden. provided by jenkins via global configuration |
Description |
Can't find maven provided by jenkins global tools configuration. Jenkins is installed in c:\program files (x86)\Jenkins. Fails since version 3.0.3. Snippet of console output: *13:34:03.852* [withMaven] use Maven installation 'Maven 3.5.0' [Pipeline] \{ [Pipeline] script [Pipeline] \{ [Pipeline] bat*13:34:04.117* [workspace] Running batch script*13:34:04.377* *13:34:04.378* \{workspacePath}>mvn -f ./\{pathToPom} clean *13:34:04.379* ----- withMaven Wrapper script -----*13:34:04.379* Der Befehl "C:\Program" ist entweder falsch geschrieben oder*13:34:04.379* konnte nicht gefunden werden. provided by jenkins via global configuration |
Can't find maven provided by jenkins global tools configuration. Jenkins is installed in "c:\program files (x86)\Jenkins" (with whitespaces in path). Fails since version 3.0.3. Snippet of console output: {code:java} 13:34:03.852 [withMaven] use Maven installation 'Maven 3.5.0' [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] bat 13:34:04.117 [workspace] Running batch script 13:34:04.377 13:34:04.378 {workspacePath}>mvn -f ./{pathToPom} clean 13:34:04.379 ----- withMaven Wrapper script ----- 13:34:04.379 Der Befehl "C:\Program" ist entweder falsch geschrieben oder 13:34:04.379 konnte nicht gefunden werden.{code} |
Assignee | Alvaro Lobato [ alobato ] | Cyrille Le Clerc [ cleclerc ] |
Summary | Can't find maven installation within a directory with whitespace | Regression: 3.0.3 no longer support whitespace in Maven installation path |
Link |
This issue is related to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Comment | [ 3.0.5 fixes my problem. Tank you!! ] |