Example usage for com.amazonaws.services.codebuild.model Build getLogs

List of usage examples for com.amazonaws.services.codebuild.model Build getLogs

Introduction

In this page you can find the example usage for com.amazonaws.services.codebuild.model Build getLogs.

Prototype


public LogsLocation getLogs() 

Source Link

Document

Information about the build's logs in Amazon CloudWatch Logs.

Usage

From source file:CodeBuilder.java

License:Open Source License

private void updateDashboard(Build b) {
    if (action != null) {
        action.setCurrentStatus(b.getBuildStatus());
        action.setLogs(logMonitor.getLatestLogs());
        action.setPhases(b.getPhases());
        logMonitor.setLogsLocation(b.getLogs());
        if (logMonitor.getLogsLocation() != null) {
            action.setLogURL(logMonitor.getLogsLocation().getDeepLink());
        }//  w w  w  .  j a v a  2 s .co m
    }
}