Add a build display name, set it from the etag reported by s3 for file uploads.
This commit is contained in:
parent
e1a4efe35c
commit
85694dd110
8 changed files with 18 additions and 11 deletions
|
@ -668,11 +668,6 @@ function RepoBuildCtrl($scope, Restangular, ApiService, $routeParams, $rootScope
|
|||
$('.build-logs').height($(window).height() - 365);
|
||||
};
|
||||
|
||||
$scope.getShortId = function(id) {
|
||||
var lastIndex = id.lastIndexOf('-');
|
||||
return id.substr(lastIndex + 1);
|
||||
};
|
||||
|
||||
$scope.getCommandKind = function(fullTitle) {
|
||||
var colon = fullTitle.indexOf(':');
|
||||
var title = getTitleWithoutStep(fullTitle);
|
||||
|
|
Reference in a new issue