From e2337fe9aa318e84299b539bdad407f4770983f2 Mon Sep 17 00:00:00 2001 From: miryamfoiferCX Date: Tue, 7 Jan 2025 14:15:43 +0200 Subject: [PATCH] add workspace file path to logs --- src/main/java/com/checkmarx/jenkins/CheckmarxScanBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/checkmarx/jenkins/CheckmarxScanBuilder.java b/src/main/java/com/checkmarx/jenkins/CheckmarxScanBuilder.java index 3eb890d..0b40d62 100644 --- a/src/main/java/com/checkmarx/jenkins/CheckmarxScanBuilder.java +++ b/src/main/java/com/checkmarx/jenkins/CheckmarxScanBuilder.java @@ -410,7 +410,7 @@ private void saveInArtifactAdditionalReports(ScanConfig scanConfig, FilePath wor } private void createArchiveFile(FilePath tempDir, String fileName, File fileToCopy, Run run, FilePath workspace, EnvVars envVars, Launcher launcher, TaskListener listener) throws IOException, InterruptedException { - log.info("Copying file to workspace"); + log.info("Copying file to workspace: " + tempDir.getRemote()); FilePath tempDirPath = tempDir.child(fileName); new FilePath(fileToCopy).copyTo(tempDirPath); ArtifactArchiver artifactArchiver = new ArtifactArchiver(tempDirPath.getName());