Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up processing for branches = ALL.

  • Loading branch information...
commit 3404eda96f6b8a35beda78f3febae0395fdb39e8 1 parent 69b38ab
@adunstan adunstan authored
Showing with 7 additions and 1 deletion.
  1. +4 −0 build-farm.conf
  2. +3 −1 run_branches.pl
View
4 build-farm.conf
@@ -184,6 +184,10 @@ my $branch;
#
);
+if ($branch eq 'global')
+{
+ # $conf{branches_to_build} = 'ALL'; # or [qw( HEAD RELx_y_STABLE etc )]
+}
# MSVC setup
View
4 run_branches.pl
@@ -75,8 +75,10 @@
my $save_path = $ENV{PATH};
$ENV{PATH} = $PGBuild::conf{build_env}->{PATH}
if ($PGBuild::conf{build_env}->{PATH});
- my $url = "http://buildfarm.postgresql.org/branches_of_interest.txt";
+ (my $url = $PGBuild::conf{target}) =~
+ s/cgi-bin.*/branches_of_interest.txt/;
my $branches_of_interest = `perl -MLWP::Simple -e "getprint(q{$url})"`;
+ die "getting branches of interest" unless $branches_of_interest;
$ENV{PATH} = $save_path;
push(@branches,$_)
foreach (split(/\s+/,$branches_of_interest));
Please sign in to comment.
Something went wrong with that request. Please try again.