Skip to content
Permalink
Browse files

Merge pull request #6 from oldelvet/jenkins-11492

[FIXED JENKINS-11492] Write logcat output to file in temp directory.
  • Loading branch information
orrc committed Nov 14, 2011
2 parents 367d5c9 + f1af66a commit a564c7e5d917a62fa2391cad59a59a4a5bab60ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/android_emulator/AndroidEmulator.java
@@ -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);

0 comments on commit a564c7e

Please sign in to comment.
You can’t perform that action at this time.