Regression: 3.0.3 no longer support whitespace in Maven installation path

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Cyrille Le Clerc
            Reporter:
            Johannes Zinn
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: