You've already forked jenkins-lib
forked from jenkins/jenkins-lib
тест
This commit is contained in:
@@ -79,7 +79,7 @@ class GetExtensions implements Serializable {
|
|||||||
// If the path is a local file, copy the file
|
// If the path is a local file, copy the file
|
||||||
String localPath = extension.path.startsWith(".") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
|
String localPath = extension.path.startsWith(".") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
|
||||||
FilePath localFilePath = FileUtils.getFilePath(localPath)
|
FilePath localFilePath = FileUtils.getFilePath(localPath)
|
||||||
localPathToExtension.copyFrom(localFilePath.toURI().toURL())
|
localPathToExtension.copyFrom(localFilePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user