public class BuildReportFileUploader extends Object
| Constructor and Description |
|---|
BuildReportFileUploader(URL url,
long timeout,
BuildId buildId) |
| Modifier and Type | Method and Description |
|---|---|
com.facebook.buck.support.build.report.UploadResponse |
uploadDiffFile(InputStream inputStream) |
void |
uploadFile(Path buildReportFilePath,
String traceFileKind) |
public void uploadFile(Path buildReportFilePath, String traceFileKind)
buildReportFilePath - is the file to uploadtraceFileKind - is the type of file to associate it correctly to the build in the serverpublic com.facebook.buck.support.build.report.UploadResponse uploadDiffFile(InputStream inputStream) throws IOException
inputStream - that has an input stream containing the output of `hg export` command see
HgCmdLineInterface for more info.IOException - when an error occurs while executing the http call