runcommand-log.tt: init

This commit is contained in:
Cole Helbling
2022-01-24 11:05:49 -08:00
parent 796ce165d4
commit 14090fbb86
3 changed files with 53 additions and 5 deletions

View File

@ -140,9 +140,8 @@ sub view_log : Chained('buildChain') PathPart('log') {
sub view_runcommand_log : Chained('buildChain') PathPart('runcommand-log') {
my ($self, $c, $sha) = @_;
$c->stash->{is_runcommand} = 1;
$c->stash->{log_uri} = $c->uri_for($c->controller('Root')->action_for("runcommandlog"), $sha . "-" . $c->stash->{build}->id);
$c->stash->{template} = 'log.tt';
$c->stash->{template} = 'runcommand-log.tt';
}