Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-3207

Add agent support for pre-task hook

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • app

    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.)

      Attachments

        Issue Links

          Activity

            People

              brian.samek@mongodb.com Brian Samek
              brian.samek@mongodb.com Brian Samek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: