mirror of
https://github.com/curl/curl.git
synced 2026-06-07 08:44:17 +03:00
cijobs.pl: enable warnings, fix them
This commit is contained in:
parent
fd518d989c
commit
c6ea603fa1
1 changed files with 11 additions and 0 deletions
|
|
@ -23,6 +23,9 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my %filelevel= ('file' => 1,
|
||||
'service' => 1);
|
||||
|
||||
|
|
@ -39,6 +42,8 @@ sub submit {
|
|||
}
|
||||
}
|
||||
|
||||
my %job;
|
||||
|
||||
sub githubactions {
|
||||
my ($tag)=@_;
|
||||
my @files= `git ls-tree -r --name-only $tag .github/workflows 2>/dev/null`;
|
||||
|
|
@ -341,6 +346,8 @@ sub circle {
|
|||
my $cmds;
|
||||
my $jobs;
|
||||
my $workflow;
|
||||
my $cmdname;
|
||||
my $jobname;
|
||||
$job{'file'} = ".circleci/config.yml";
|
||||
$job{'service'} = "circleci";
|
||||
while(<G>) {
|
||||
|
|
@ -408,6 +415,10 @@ sub zuul {
|
|||
my %job;
|
||||
my $line=0;
|
||||
my $type;
|
||||
my $jobmode;
|
||||
my $apt = 0;
|
||||
my $env = 0;
|
||||
my $envcont;
|
||||
$job{'file'} = "zuul.d/jobs.yaml";
|
||||
$job{'service'} = "zuul";
|
||||
while(<G>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue