Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Won't Fix
-
None
Description
The pre-task hook will be defined by Evergreen administrators in a text box on the distro configuration page. This hook will run using theĀ shell.exec command before each task that is not in a running task group. It is expected that this shell script will invoke a script placed on the machine by buildhost-configuration. It is also the responsibility of the caller to noop some of the time, since this hook will run before every task. (It may be the case that this hook is more natural as a post-task hook, since runPostGroupCommands already runs only when the following task is not in the same task group. We will also explore this option.)