public class BuildReportUpload extends Object
FullBuildReport
Modifier and Type | Method and Description |
---|---|
static void |
runBuildReportUpload(TaskManagerCommandScope managerScope,
com.google.common.util.concurrent.ListenableFuture<Optional<FullVersionControlStats>> vcStatsFuture,
BuckConfig buckConfig,
BuildId buildId)
If reporting is not enabled in the config, or the endpoint url is empty, it will not run.
|
public static void runBuildReportUpload(TaskManagerCommandScope managerScope, com.google.common.util.concurrent.ListenableFuture<Optional<FullVersionControlStats>> vcStatsFuture, BuckConfig buckConfig, BuildId buildId)
managerScope
- the task manager scope to use for schedulingvcStatsFuture
- the future that returns an optional FullVersionControlStatsbuckConfig
- the config of the current run. This is added to the report and used to
determine whether the report should be uploadedbuildId
- of the current Build