github.com/billybanfield/evergreen@v0.0.0-20170525200750-eeee692790f7/plugin/testdata/plugin_project_functions.yml (about)

     1  functions:
     2    "function test #1":
     3      command: shell.exec
     4      params:
     5        param1: "this is a string param"
     6        param2: 12345
     7    "func test XYZ":
     8      command: shell.exec
     9      params:
    10        script: "echo 'hi'"
    11    "func test with expansions":
    12      command: expansions.update
    13      params:
    14        updates:
    15          - key: test_expansion_key
    16            value: "ABCDEFGH"
    17          - key: another_expansion_key
    18            value: "ZYXWVUT"
    19  
    20  
    21  tasks:
    22    - name: testtask1
    23      commands:
    24        - func: "function test #1"
    25        - func: "func test XYZ"
    26        - func: "func test with expansions"
    27        - command: shell.exec
    28          params:
    29              script: |
    30                set -v
    31                echo '${test_expansion_key}'
    32                echo '${another_expansion_key}'
    33  
    34  buildvariants:
    35  - name: linux-64
    36    display_name: Linux 64-bit
    37    modules: ~
    38    test_flags: --continue-on-failure
    39    expansions:
    40      blah: "blah"
    41    push: true