hydra: moved getbuildlog

This commit is contained in:
Rob Vermaas
2010-09-02 08:56:29 +00:00
parent d7487ab0d9
commit c5ceece093
2 changed files with 9 additions and 8 deletions

View File

@ -26,13 +26,6 @@ my $db = openHydraDB;
my %config = new Config::General($ENV{"HYDRA_CONFIG"})->getall;
sub getBuildLog {
my ($drvPath) = @_;
my $logPath = "/nix/var/log/nix/drvs/" . basename $drvPath;
return -e $logPath ? $logPath : undef;
}
sub sendTwitterNotification {
my ($build) = @_;