diff --git a/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy b/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy index 5de3843..d2771d9 100644 --- a/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy +++ b/src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy @@ -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) } }