Commit d837343
committed
[JENKINS-16005] Use system temp directory for CommandInstaller scripts
AbstractCommandInstaller.performInstallation() was calling
createTextTempFile() with the default inThisDirectory=true,
causing it to try creating temp script files in the tool's
installation directory (e.g., /usr). This fails when Jenkins
doesn't have write access to that directory.
Changed to use createTextTempFile(..., false) to create temp
files in the system temp directory (java.io.tmpdir) instead.1 parent 587f636 commit d837343
File tree
1 file changed
+2
-1
lines changed- core/src/main/java/hudson/tools
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments