Pass project and jobset to fetchInput
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
5efe8365ef
commit
687ca429c3
|
@ -171,7 +171,7 @@ sub fetchInput {
|
|||
else {
|
||||
my $found = 0;
|
||||
foreach my $plugin (@{$plugins}) {
|
||||
@inputs = $plugin->fetchInput($type, $name, $value);
|
||||
@inputs = $plugin->fetchInput($type, $name, $value, $project, $jobset);
|
||||
if (defined $inputs[0]) {
|
||||
$found = 1;
|
||||
last;
|
||||
|
|
|
@ -38,7 +38,7 @@ sub supportedInputTypes {
|
|||
# Called to fetch an input of type ‘$type’. ‘$value’ is the input
|
||||
# location, typically the repository URL.
|
||||
sub fetchInput {
|
||||
my ($self, $type, $name, $value) = @_;
|
||||
my ($self, $type, $name, $value, $project, $jobset) = @_;
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue