1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<div class="visualisation"
ng-style="selected && {'top': '35%'}">
<div class="row boxes">
<div class="lane col-xs-2 ng-hide">
<a class="lanelink" href="http://wiki.baserock.org/ciat/"><h3>Change detection</h3></a>
</div>
<div class="lane col-xs-2">
<a class="lanelink" href="http://wiki.baserock.org/ciat/"><h3>Integration</h3></a>
<div class="box"
ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': step.lastBuild.failed}"
ng-repeat="step in integrations"
ng-click="select(step, $event)">
{{step.name}}
</div>
</div>
<div class="lane col-xs-2">
<a class="lanelink" href="http://wiki.baserock.org/ciat/"><h3>Build</h3></a>
<div
ng-repeat="step in builds">
<div class="box"
ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': step.lastBuild.failed}"
ng-click="select(step, $event)">
{{step.name}}
<div class="progress">
<div class="progress-bar {{step.style}}" role="progressbar" aria-valuenow="{{step.progress}}" aria-valuemin="0" aria-valuemax="100" style="width: {{step.progress}}%">
<span class="sr-only">{{step.progress}}% Complete</span>
</div>
</div>
</div>
</div>
</div>
<div class="lane col-xs-2">
<a class="lanelink" href="http://wiki.baserock.org/ciat/"><h3>Provisioning</h3></a>
<div class="box"
ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': step.lastBuild.failed}"
ng-repeat="step in deploys"
ng-click="select(step, $event)">
{{step.name}}
</div>
</div>
<div class="lane col-xs-2">
<a class="lanelink" href="http://wiki.baserock.org/ciat/"><h3>Test</h3></a>
<div class="box"
ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': step.lastBuild.failed}"
ng-repeat="step in tests"
ng-click="select(step, $event)">
{{step.name}}
</div>
</div>
<div class="lane col-xs-2">
<a class="lanelink" href="http://wiki.baserock.org/ciat/"><h3>Publishing</h3></a>
<div class="box"
ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': step.lastBuild.failed}"
ng-repeat="step in publishings"
ng-click="select(step, $event)">
{{step.name}}
</div>
</div>
</div>
<br />
<div class="detail"
ng-show="selected"
ng-click="$event.stopPropagation()">
<a class="close" ng-click="select()">×</a>
<h3>{{selected.name}}</h3>
<div class="detail-contents">
<p><strong>State:</strong> {{selected.state}}</p>
<p class="{{selected.class}}">
<strong>Current Job:</strong>
<a ng-href="http://ciat.baserock.org:8010/builders/{{selected.name}}/builds/{{selected.currentBuild.number}}">
{{selected.currentBuild.sourceStamps[0].changes[0].at}}
/ Job ID: {{selected.currentBuild.number}}
</a>
</p>
<p class="{{selected.class}}"><strong>Current Job logs:</strong></p>
<ul class="{{selected.class}}">
<li ng-repeat="step in selected.currentBuild.steps">
<a ng-href="{{step.logs[0][1]}}">Log for step: {{step.name}}</a>
</li>
</ul>
<hr class="{{selected.class}}">
<p>
<strong>Last Job:</strong>
<a ng-href="http://ciat.baserock.org:8010/builders/{{selected.name}}/builds/{{selected.lastBuild.number}}">
{{selected.lastBuild.sourceStamps[0].changes[0].at}}
/ Job ID: {{selected.lastBuild.number}}
</a>
</p>
<p><strong>Last Job logs:</strong></p>
<ul>
<li ng-repeat="step in selected.lastBuild.steps">
<a ng-href="{{step.logs[0][1]}}">Log for step: {{step.name}}</a>
</li>
</ul>
<p><a ng-href="/#/builders/{{selected.name}}/">Full builder details</a></p>
</div>
</div>
</div>
|