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
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import java.net.MalformedURLException;
import java.net.URL;
import java.net.UnknownHostException;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -398,7 +399,7 @@ private void pushAppBits(AbstractBuild build, BuildListener listener, Deployment
if (appPath.isDirectory()) {
// The build is distributed, and a directory
// We need to make a copy of the target directory on the master
File tempAppFile = File.createTempFile("appFile", null); // This is on the master
File tempAppFile = Files.createTempFile("appFile", null).toFile(); // This is on the master
OutputStream outputStream = new FileOutputStream(tempAppFile);
appPath.zip(outputStream);

Expand Down