$job{'install'} = $1;
}
elsif($m >= 0) {
- if($_ =~ /^ - name: (.*)/) {
+ if($_ =~ /^ - name: (.*)/) {
# matrix job
#print "name: $1\n";
$job{'name'} = $1;
$job{'file'} = ".azure-pipelines.yml";
$job{'service'} = "azure";
while(<G>) {
- if($_ =~ /^ vmImage: (.*)/) {
+ if($_ =~ /^ vmImage: (.*)/) {
my $i = $1;
if($i =~ /ubuntu/) {
$os = "linux";
$os = "windows";
}
}
- elsif($_ =~ /^- stage: (.*)/) {
+ elsif($_ =~ /^ - stage: (.*)/) {
my $topname = $1;
if($topname !~ /(windows|linux)/) {
$job{'name'} = $topname;
$j = 0;
}
elsif($m >= 0) {
- if($_ =~ /^ name: (.*)/) {
+ if($_ =~ /^ name: (.*)/) {
# single matrix list entry job
$j++;
$job{'name'} = $1;
# disable matrix mode
$m = -1;
}
- elsif($_ =~ /^ configure: (.*)/) {
+ elsif($_ =~ /^ configure: (.*)/) {
$job{'configure'} = $1;
$job{'line'}=$line;
$job{'os'}=$os;