diff options
Diffstat (limited to 'monitor/bot-status')
-rwxr-xr-x | monitor/bot-status | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/bot-status b/monitor/bot-status index 4a794f2..18144a4 100755 --- a/monitor/bot-status +++ b/monitor/bot-status @@ -63,7 +63,7 @@ foreach my $server (@$config) { &debug(" Ignoring...\n"); } &debug($status->{'fail'} ? " FAIL\n" : " PASS\n"); - $bot_cache{$bot->{'name'}} = $status; + $bot_cache{$BASE_URL.'/'.$bot->{'name'}} = $status; } } } @@ -88,7 +88,7 @@ foreach my $server (@$config) { "<th>Build #</th><th>Commits</th></tr>\n"; foreach my $bot (@{$builder->{'bots'}}) { print $temp "<tr>\n"; - my $status = $bot_cache{$bot->{'name'}}; + my $status = $bot_cache{$BASE_URL.'/'.$bot->{'name'}}; my $url = "$BASE_URL/$BUILDER_URL/$bot->{'name'}"; print $temp " <td><a href='$url'>$bot->{'name'}</a></td>\n"; if ($status->{'fail'}) { |