Skip to content

Commit

Permalink
тест
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovEV committed Mar 14, 2024
1 parent 09b885b commit 1995174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ru/pulsar/jenkins/library/steps/GetExtensions.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ 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
FilePath localFilePath = FileUtils.getFilePath(localPath)
// String localPath = extension.path.startsWith("./") ? "$env.WORKSPACE/${extension.path.substring(1)}" : extension.path
FilePath localFilePath = FileUtils.getFilePath(extension.path)
localPathToExtension.copyFrom(localFilePath)
}
}
Expand Down

0 comments on commit 1995174

Please sign in to comment.