diff options
-rw-r--r-- | index.html | 3 | ||||
-rw-r--r-- | js/main.js | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -23,7 +23,8 @@ <h3>{{selected.name}}</h3> <div class="detail-contents"> <p><strong>State:</strong> {{selected.data.state}}</p> - <p><strong>Most Recent Logs:</strong></p> + <p><strong>Last Build:</strong> {{selected.lastBuild.number}} at {{selected.lastBuild.sourceStamps[0].changes[0].at}} + <p><strong>Logs for {{selected.lastBuild.number}}:</strong></p> <ul> <li ng-repeat="step in selected.lastBuild.steps"> <a ng-href="{{step.logs[0][1]}}">{{step.name}} {{step.logs[0][0]}}</a> @@ -34,7 +34,9 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) var details = { success: checkInArray(response.data.text, 'successful'), failed: checkInArray(response.data.text, 'failed'), - steps: response.data.steps + steps: response.data.steps, + sourceStamps: response.data.sourceStamps, + number: response.data.number }; $scope.steps.push({ name: key, |