mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2024-12-10 11:10:42 +02:00
Зменил проверку . на ./
This commit is contained in:
parent
ccfbc7cb70
commit
33b3066f9f
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user