mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-01-20 11:54:30 +02:00
тест
This commit is contained in:
parent
33b3066f9f
commit
f45622d533
@ -78,8 +78,8 @@ class GetExtensions implements Serializable {
|
|||||||
localPathToExtension.copyFrom(new URL(extension.path))
|
localPathToExtension.copyFrom(new URL(extension.path))
|
||||||
} else {
|
} else {
|
||||||
// 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(extension.path)
|
||||||
localPathToExtension.copyFrom(localFilePath)
|
localPathToExtension.copyFrom(localFilePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user