diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-09-30 10:39:23 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-09-30 10:39:23 +0100 |
commit | f89e9a8baba97cf74d70e0d010853d8ec58bb8f9 (patch) | |
tree | fafe71279eba038ad61179af7ad81c71f645df3f /js | |
parent | 0f9662edaae537ddcf14707d51fe3d7c6327f54d (diff) | |
download | ciat-ui-f89e9a8baba97cf74d70e0d010853d8ec58bb8f9.tar.gz |
Add publish boxes to the publishing lane
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -39,6 +39,7 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) $scope.builds = []; $scope.deploys = []; $scope.tests = []; + $scope.publishings = []; $http.get(apiBase + '/builders') .then(function(builders) { angular.forEach(builders.data, function(value, key) { @@ -88,6 +89,13 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) data: value }); } + else if(key.indexOf("Publishing") > -1) { + $scope.publishings.push({ + name: key, + lastBuild: details, + data: value + }); + } |