From 4fe269d8320a7d2d995f27e2918793a9d83e8f1c Mon Sep 17 00:00:00 2001 From: delarea Date: Sun, 17 Nov 2024 13:13:56 +0200 Subject: [PATCH] add workspace.mkdirs --- src/main/java/io/jenkins/plugins/jfrog/JfStep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/io/jenkins/plugins/jfrog/JfStep.java b/src/main/java/io/jenkins/plugins/jfrog/JfStep.java index 8055eb78..3045e93f 100644 --- a/src/main/java/io/jenkins/plugins/jfrog/JfStep.java +++ b/src/main/java/io/jenkins/plugins/jfrog/JfStep.java @@ -144,6 +144,7 @@ protected String run() throws Exception { * @param launcher Launcher to start processes. */ private void initClassValues(FilePath workspace, EnvVars env, Launcher launcher) throws IOException, InterruptedException { + workspace.mkdirs(); isWindows = !launcher.isUnix(); jfrogBinaryPath = getJFrogCLIPath(env, isWindows); passwordStdinSupported = isPasswordStdinSupported(workspace, env, launcher);