OAGCZHK6XBVVEY7BX23CKWIZLG2WUH3J6B5BCHNOXMNDUIUWK7OAC
6ZXL5UOPGRFVDX42LMO72HWDMH6YLR3FOH5NC75TSMTUC5HQI46QC
my ($cfg, $event) = @_; for my $x (split " ", ($cfg->{events} // "buildFinished")) {
my ($cfg, $event) = @_;
for my $x (split " ", ($cfg->{events} // "buildFinished")) {
my ($conf, $event) = @_; for my $x (split " ", ($conf->{events} // "buildFinished")) {
my ($conf, $event) = @_;
for my $x (split " ", ($conf->{events} // "buildFinished")) {
my $config = $self->{config}->{runcommand} // [];
my $cfg = $self->{config}->{runcommand}; my @config = defined $cfg ? ref $cfg eq "ARRAY" ? @$cfg : ($cfg) : ();
my $cfg = $self->{config}->{runcommand};
my @config = defined $cfg ? ref $cfg eq "ARRAY" ? @$cfg : ($cfg) : ();
foreach my $cfg (@$config) { next unless eventMatches($cfg, $event);
foreach my $cfg (@$config) {
next unless eventMatches($cfg, $event);
foreach my $conf (@config) { next unless eventMatches($conf, $event);
foreach my $conf (@config) {
next unless eventMatches($conf, $event);
$cfg->{job} // "*:*:*",
$conf->{job} // "*:*:*",
my $command = $cfg->{command} // die "<runcommand> section lacks a 'command' option";
my $command = $conf->{command} // die "<runcommand> section lacks a 'command' option";