-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows 7
I have Jenkins installed in Tomcat which is installed in C:\Program Files (x86). Gradle execution fails due to space in the path for temp directory:
[Gradle] - Launching build.
[My Project] $ cmd.exe /C '"C:\.jenkins\tools\hudson.plugins.gradle.GradleInstallation\Gradle-1.6\bin\gradle.bat --init-script C:/Program Files (x86)/Apache Software Foundation/Tomcat 7.0/temp/init-artifactory6084622070616493781gradle assemble artifactoryPublish && exit %%ERRORLEVEL%%"'
FAILURE: Build failed with an exception.
- What went wrong:
Could not read initialization script 'C:\Program' as it does not exist.
[JENKINS-18034] Gradle plugin does not handle spaces in Jenkins install location
Component/s | New: artifactory [ 15689 ] | |
Component/s | Original: gradle [ 15547 ] | |
Assignee | Original: Gregory Boissinot [ gbois ] | New: yossis [ yossis ] |
Assignee | Original: yossis [ yossis ] | New: Eyal Ben Moshe [ eyalbe ] |
Workflow | Original: JNJira [ 149331 ] | New: JNJira + In-Review [ 177327 ] |
Actually, now that I look at it is probably the artifactory plugin at fault.