diff --git a/src/main/java/com/squarepolka/readyci/tasks/Task.java b/src/main/java/com/squarepolka/readyci/tasks/Task.java index e65fb7b..e26d0c1 100644 --- a/src/main/java/com/squarepolka/readyci/tasks/Task.java +++ b/src/main/java/com/squarepolka/readyci/tasks/Task.java @@ -49,7 +49,8 @@ protected InputStream executeCommand(String[] command, String workingDirectory) configureProxyServer(processBuilder, configuration); Process process = processBuilder.start(); InputStream processInputStream = process.getInputStream(); - processInputStream.mark(5120); + int sizeOfFiveMeg = 5000000; + processInputStream.mark(sizeOfFiveMeg); handleProcessOutput(process); checkProcessSuccess(process); resetInputStream(processInputStream);