* Only include the system type in URLs if there are multiple jobs with
the same name.
This commit is contained in:
@ -162,6 +162,10 @@ sub result : Chained('view') PathPart('') {
|
||||
my $result = getViewResult($primaryBuild, $c->stash->{jobs});
|
||||
$c->stash->{result} = $result;
|
||||
|
||||
my %jobNames;
|
||||
$jobNames{$_->{job}->job}++ foreach @{$result->{jobs}};
|
||||
$c->stash->{jobNames} = \%jobNames;
|
||||
|
||||
if (scalar @args == 1 && $args[0] eq "release") {
|
||||
requireProjectOwner($c, $c->stash->{project});
|
||||
|
||||
|
Reference in New Issue
Block a user