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 22:12:30 +03:00
parent 33b3066f9f
commit f45622d533

View File

@ -78,8 +78,8 @@ class GetExtensions implements Serializable {
localPathToExtension.copyFrom(new URL(extension.path))
} else {
// 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)
// String localPath = extension.path.startsWith("./") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
FilePath localFilePath = FileUtils.getFilePath(extension.path)
localPathToExtension.copyFrom(localFilePath)
}
}