зеркало из https://github.com/mozilla/pjs.git
bug 355465 - Make tinderbox more flexible with where it reports l10n packaging status. (Missing piece now included) r=preed
This commit is contained in:
Родитель
181645f9ae
Коммит
6671060371
|
@ -74,8 +74,13 @@ sub mail_locale_started_message {
|
|||
|
||||
my $platform = $Settings::OS =~ /^WIN/ ? 'windows' : 'unix';
|
||||
|
||||
my $tree = $Settings::BuildTree;
|
||||
if (defined($Settings::LocaleTree)) {
|
||||
$tree = $Settings::LocaleTree;
|
||||
}
|
||||
|
||||
print_locale_log "\n";
|
||||
print_locale_log "tinderbox: tree: $Settings::BuildTree-$locale\n";
|
||||
print_locale_log "tinderbox: tree: $tree-$locale\n";
|
||||
print_locale_log "tinderbox: builddate: $start_time\n";
|
||||
print_locale_log "tinderbox: status: building\n";
|
||||
print_locale_log "tinderbox: build: $Settings::BuildName $locale\n";
|
||||
|
@ -104,10 +109,15 @@ sub mail_locale_finished_message {
|
|||
|
||||
my $platform = $Settings::OS =~ /^WIN/ ? 'windows' : 'unix';
|
||||
|
||||
my $tree = $Settings::BuildTree;
|
||||
if (defined($Settings::LocaleTree)) {
|
||||
$tree = $Settings::LocaleTree;
|
||||
}
|
||||
|
||||
# Put the status at the top of the log, so the server will not
|
||||
# have to search through the entire log to find it.
|
||||
print OUTLOG "\n";
|
||||
print OUTLOG "tinderbox: tree: $Settings::BuildTree-$locale\n";
|
||||
print OUTLOG "tinderbox: tree: $tree-$locale\n";
|
||||
print OUTLOG "tinderbox: builddate: $start_time\n";
|
||||
print OUTLOG "tinderbox: status: $build_status\n";
|
||||
print OUTLOG "tinderbox: build: $Settings::BuildName $locale\n";
|
||||
|
|
Загрузка…
Ссылка в новой задаче