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) {
|
while (my $eval = $evals->next) {
|
||||||
foreach my $i ($eval->jobsetevalinputs){
|
foreach my $i ($eval->jobsetevalinputs){
|
||||||
next unless defined $i;
|
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 $uri = $i->uri;
|
||||||
my $rev = $i->revision;
|
my $rev = $i->revision;
|
||||||
# Skip if the uri is not a bitbucket repo
|
# Skip if the uri is not a bitbucket repo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user