You've already forked jenkins-lib
forked from jenkins/jenkins-lib
Зменил проверку . на ./
This commit is contained in:
@@ -78,7 +78,7 @@ 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
|
||||
String localPath = extension.path.startsWith("./") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
|
||||
FilePath localFilePath = FileUtils.getFilePath(localPath)
|
||||
localPathToExtension.copyFrom(localFilePath)
|
||||
}
|
||||
|
Reference in New Issue
Block a user