diff options
Diffstat (limited to 'js/main.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 + }); + } |