diff options
author | Jonathan Reams <jonathan.reams@mongodb.com> | 2019-08-13 15:03:29 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-13 15:03:29 +0000 |
commit | 862995e019c7655a558fc926ba24a1780c55ec8d (patch) | |
tree | 0e8c5b9b3115b407971b131b03b1540f00b41d37 /etc | |
parent | d8ea200cc8000f702376ebc53f3efc066b709cd4 (diff) | |
download | mongo-862995e019c7655a558fc926ba24a1780c55ec8d.tar.gz |
SERVER-42753 Upload libfuzzer corpus as teardown task
Diffstat (limited to 'etc')
-rw-r--r-- | etc/evergreen.yml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 384e1581bc9..2cb68c9507c 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -557,10 +557,8 @@ functions: target_dir="src/corpus" mkdir -p $target_dir - mv src/corpus.tgz $target_dir - cd $target_dir - tar xzf corpus.tgz + tar -xzf corpus.tgz -C $target_dir "archive new corpus": &archive_new_corpus command: archive.targz_pack @@ -581,6 +579,7 @@ functions: permissions: private content_type: ${content_type|application/gzip} display_name: "Fuzzer Tests Corpus Tar Archive" + optional: true "get buildnumber": &get_buildnumber command: keyval.inc @@ -3847,18 +3846,6 @@ tasks: - func: "run tests" vars: resmoke_args: --suites=libfuzzer - - command: shell.exec - type: setup - params: - working_dir: src - shell: bash - script: | - set -o verbose - set -o errexit - - ./buildscripts/merge_corpus.sh - - func: "archive new corpus" - - func: "upload new corpus" ## compile_dbtest ## - name: compile_dbtest @@ -8324,6 +8311,19 @@ task_groups: tasks: - compile_libfuzzertests - libfuzzertests + teardown_task: + - command: shell.exec + type: setup + params: + working_dir: src + shell: bash + script: | + set -o verbose + set -o errexit + + ./buildscripts/merge_corpus.sh + - func: "archive new corpus" + - func: "upload new corpus" - <<: *compile_task_group_template name: compile_all_run_unittests_TG tasks: |