Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
[FIX] Fixed the limit of 5k when reading input from stdout, for examp…
Browse files Browse the repository at this point in the history
…le, reading in iOS provisioning profiles. ReadyCI now supports up to 5 meg of stdout.
  • Loading branch information
Bradley Clayton committed Jan 30, 2019
1 parent 3b43cdd commit ccfb14d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/squarepolka/readyci/tasks/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ccfb14d

Please sign in to comment.