Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #6 from oldelvet/jenkins-11492
Browse files Browse the repository at this point in the history
[FIXED JENKINS-11492] Write logcat output to file in temp directory.
  • Loading branch information
orrc committed Nov 14, 2011
2 parents 367d5c9 + f1af66a commit a564c7e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -367,7 +367,7 @@ private Environment doSetUp(final AbstractBuild<?, ?> build, final Launcher laun

// Start dumping logs to disk
final File artifactsDir = build.getArtifactsDir();
final FilePath logcatFile = build.getWorkspace().createTempFile("logcat_", ".log");
final FilePath logcatFile = build.getWorkspace().createTextTempFile("logcat_", ".log", "", false);
final OutputStream logcatStream = logcatFile.write();
final String logcatArgs = String.format("-s %s logcat -v time", serial);
ArgumentListBuilder logcatCmd = Utils.getToolCommand(androidSdk, isUnix, Tool.ADB, logcatArgs);
Expand Down

0 comments on commit a564c7e

Please sign in to comment.