mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
[JENKINS-67372] Restore support for symbolic links in the Jenkins home directory (#6059)
This commit is contained in:
1 parent
a21070985f
commit
27646d11e4
15 files changed
+125
-16
No files matched your search
@@ -480,7 +480,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
* Explodes the plugin into a directory, if necessary.
|
||||
*/
|
||||
private static void explode(File archive, File destDir) throws IOException {
|
||||
Files.createDirectories(Util.fileToPath(destDir));
|
||||
Util.createDirectories(Util.fileToPath(destDir));
|
||||
|
||||
// timestamp check
|
||||
File explodeTime = new File(destDir,".timestamp2");
|
||||
@@ -549,7 +549,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
};
|
||||
z.setProject(prj);
|
||||
z.setTaskType("zip");
|
||||
Files.createDirectories(Util.fileToPath(classesJar.getParentFile()));
|
||||
Util.createDirectories(Util.fileToPath(classesJar.getParentFile()));
|
||||
z.setDestFile(classesJar);
|
||||
z.add(mapper);
|
||||
z.execute();
|
||||
|
||||
Reference in new issue
Block a user