1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-12-10 11:10:42 +02:00
This commit is contained in:
ivanovEV 2024-03-14 19:59:20 +03:00
parent 626333a313
commit c30558c2eb

View File

@ -79,7 +79,7 @@ class GetExtensions implements Serializable {
// If the path is a local file, copy the file
String localPath = extension.path.startsWith(".") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
FilePath localFilePath = FileUtils.getFilePath(localPath)
localPathToExtension.copyFrom(localFilePath.toURI().toURL())
localPathToExtension.copyFrom(localFilePath)
}
}