Skip the input if the emailResponsible field is disabled
This commit is contained in:
parent
fd8cb39a11
commit
8da3ca6e94
|
@ -36,6 +36,11 @@ sub common {
|
|||
while (my $eval = $evals->next) {
|
||||
foreach my $i ($eval->jobsetevalinputs){
|
||||
next unless defined $i;
|
||||
|
||||
# Skip if the emailResponsible field is disabled
|
||||
my $input = $eval->jobset->jobsetinputs->find({name => $i->name });
|
||||
next unless $input->emailresponsible;
|
||||
|
||||
my $uri = $i->uri;
|
||||
my $rev = $i->revision;
|
||||
# Skip if the uri is not a bitbucket repo
|
||||
|
|
Loading…
Reference in a new issue