Fix contest job log updating
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jan 2014 23:11:41 +0000 (01:11 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 29 Jan 2014 23:11:41 +0000 (01:11 +0200)
lib/Gruntmaster/Daemon.pm

index 3b3f5be..d636965 100644 (file)
@@ -129,7 +129,7 @@ sub process{
   set_job_results $job, \@full_results if scalar @full_results;
   set_job_errors $job, $errors;
 
-  my $log = $meta->{contest} ? "ct/$meta->{contest}/log" : 'log';
+  my $log = $Gruntmaster::Data::contest ? "ct/$Gruntmaster::Data::contest/log" : 'log';
   PUBLISH gensrc => $job;
   PUBLISH genpage => "$log/job/$job.html";
   PUBLISH genpage => "$log/index.html";
This page took 0.011793 seconds and 4 git commands to generate.