From c6ea603fa1c8df5b78513cb7f01b7394051d3080 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 14 Jul 2025 20:15:37 +0200 Subject: [PATCH] cijobs.pl: enable warnings, fix them --- scripts/cijobs.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/cijobs.pl b/scripts/cijobs.pl index 56916bcd82..2be9d2565c 100755 --- a/scripts/cijobs.pl +++ b/scripts/cijobs.pl @@ -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() { @@ -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() {