Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/main/java/hudson/plugins/robot/RobotPublisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,8 @@
Map<String, String> artifacts = new HashMap<>();
for (FilePath file : artifactFiles) {
// Use relative path as artifact name
String pathInArchiveArea = getRelativePath(srcDir, file);
String pathInWorkspaceArea = getRelativePath(workspace, file);
artifacts.put(pathInArchiveArea, pathInWorkspaceArea);
String relativePath = getRelativePath(srcDir, file);
artifacts.put(relativePath, relativePath);

Check warning on line 420 in src/main/java/hudson/plugins/robot/RobotPublisher.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 419-420 are not covered by tests
}

// This will automatically use the configured artifact manager (S3, etc.)
Expand Down
Loading