RunCommand: print a warning if the hook isn't run because the project / jobset doens't have it enabled
This commit is contained in:
@ -72,6 +72,7 @@ sub isBuildEligibleForDynamicRunCommand {
|
||||
}
|
||||
|
||||
if (! $build->jobset->supportsDynamicRunCommand()) {
|
||||
warn "DynamicRunCommand hook on " . $build->job . " (" . $build->id . ") rejected: The project or jobset don't have dynamic runcommand enabled.";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user