From e18fe1078ac9684a6ab266d34ab99c1a698bde8d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 27 Apr 2010 08:01:38 +0000 Subject: [PATCH] rename var --- src/script/hydra_build.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/hydra_build.pl b/src/script/hydra_build.pl index 19d46b5d..a82aeeb7 100755 --- a/src/script/hydra_build.pl +++ b/src/script/hydra_build.pl @@ -111,9 +111,9 @@ sub sendEmailNotification { my $status = statusDescription($build->resultInfo->buildstatus); - my $url = hostname_long ; + my $baseurl = hostname_long ; my $sender = $config{'notification_sender'} || - (($ENV{'USER'} || "hydra") . "@" . $url); + (($ENV{'USER'} || "hydra") . "@" . $baseurl); my $selfURI = $config{'base_uri'} || "http://localhost:3000"; @@ -191,7 +191,7 @@ sub sendEmailNotification { From => "Hydra Build Daemon <$sender>", Subject => "Hydra job $jobName build " . $build->id . ": $status", - 'X-Hydra-Instance' => $url, + 'X-Hydra-Instance' => $baseurl, 'X-Hydra-Project' => $build->project->name, 'X-Hydra-Jobset' => $build->jobset->name, 'X-Hydra-Job' => $build->job->name