2015-02-26 22:45:28 +00:00
|
|
|
<div class="build-view">
|
|
|
|
<div class="resource-view" resources="[buildResource, repoResource]"
|
|
|
|
error-message="'Build not found'">
|
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
<div class="cor-title">
|
|
|
|
<span class="cor-title-link">
|
|
|
|
<a class="back-link" href="/repository/{{ namespace }}/{{ name }}?tab=builds">
|
|
|
|
<i class="fa fa-hdd-o" style="margin-right: 4px"></i>
|
|
|
|
{{ namespace }}/{{ name }}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<span class="cor-title-content">
|
|
|
|
<i class="fa fa-tasks fa-lg" style="margin-right: 10px"></i> {{ build.display_name }}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="co-main-content-panel">
|
|
|
|
<!-- Build Information -->
|
|
|
|
<div class="build-info-bar" build="build" show-time="false"></div>
|
|
|
|
|
2016-05-31 19:24:36 +00:00
|
|
|
<!-- Error Status -->
|
|
|
|
<div class="co-alert co-alert-warning" ng-show="originalBuild.error"
|
|
|
|
style="margin-bottom: 8px; margin-top: 12px;">
|
|
|
|
{{ originalBuild.error }}
|
|
|
|
</div>
|
|
|
|
|
2015-02-26 22:45:28 +00:00
|
|
|
<!-- Current Status -->
|
2016-05-31 19:24:36 +00:00
|
|
|
<div class="build-status-header" ng-show="!originalBuild.error">
|
2015-02-26 22:45:28 +00:00
|
|
|
<span class="build-icon-message" ng-class="build.phase">
|
|
|
|
<span class="cor-loader-inline" ng-if="isBuilding(build)"></span>
|
|
|
|
<span ng-if="!isBuilding(build)">
|
|
|
|
<i class="fa fa-check-circle" ng-if="build.phase == 'complete'"></i>
|
|
|
|
<i class="fa fa-times-circle" ng-if="build.phase == 'error'"></i>
|
|
|
|
<i class="fa fa-exclamation-circle" ng-if="build.phase == 'internalerror'"></i>
|
|
|
|
</span>
|
|
|
|
<span class="build-message" phase="build.phase"></span>
|
|
|
|
</span>
|
|
|
|
|
2015-02-27 21:00:32 +00:00
|
|
|
<span class="cor-options-menu">
|
|
|
|
<span class="cor-option" option-click="toggleTimestamps()">
|
|
|
|
<span ng-if="showLogTimestamps">
|
|
|
|
<i class="fa fa-clock-o"></i> Hide Timestamps
|
|
|
|
</span>
|
|
|
|
<span ng-if="!showLogTimestamps">
|
|
|
|
<i class="fa fa-clock-o"></i> Show Timestamps
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="cor-option" option-click="askCancelBuild(build)"
|
|
|
|
ng-if="build.phase == 'waiting'">
|
|
|
|
<i class="fa fa-times"></i> Cancel Build
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
2015-02-26 22:45:28 +00:00
|
|
|
<div class="timing">
|
|
|
|
<i class="fa fa-clock-o"></i>
|
|
|
|
Build started
|
|
|
|
<span am-time-ago="build.started || 0"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Build Logs -->
|
2015-02-27 21:00:32 +00:00
|
|
|
<div class="build-logs-view"
|
|
|
|
build="originalBuild"
|
|
|
|
use-timestamps="showLogTimestamps"
|
2016-05-31 19:24:36 +00:00
|
|
|
build-updated="setUpdatedBuild(build)"
|
|
|
|
ng-show="!originalBuild.error"></div>
|
2015-02-26 22:45:28 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-30 21:55:04 +00:00
|
|
|
</div>
|