diff options
author | Jason Chan <jason.chan@mongodb.com> | 2020-01-16 16:24:48 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-16 16:24:48 +0000 |
commit | 537f6ca20aa73315d9266895dc928823507e38a1 (patch) | |
tree | d1ec7fedea8ae2b0bd778de92b4808438a3f50bc /buildscripts/ciconfig | |
parent | 3ad25045b12fce4183e8386b40f2c5e7ca71d314 (diff) | |
download | mongo-537f6ca20aa73315d9266895dc928823507e38a1.tar.gz |
SERVER-45383 Add multiversion build variant to burn_in_tags_gen task
Diffstat (limited to 'buildscripts/ciconfig')
-rw-r--r-- | buildscripts/ciconfig/evergreen.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/buildscripts/ciconfig/evergreen.py b/buildscripts/ciconfig/evergreen.py index ce4c93343d8..b1a57791286 100644 --- a/buildscripts/ciconfig/evergreen.py +++ b/buildscripts/ciconfig/evergreen.py @@ -115,12 +115,20 @@ class Task(object): @property def generate_resmoke_tasks_command(self): """Return the 'generate resmoke tasks' command if found, or None.""" - return self._find_func_command("generate resmoke tasks") + func = self._find_func_command("generate resmoke tasks") + return func if func is not None else self._find_func_command( + "generate randomized multiversion tasks") + + @property + def generate_randomized_multiversion_command(self): + """Return the 'generate resmoke tasks' command if found, or None.""" + return self._find_func_command("generate randomized multiversion tasks") @property def is_generate_resmoke_task(self): """Return True if 'generate resmoke tasks' command is found.""" - return self.generate_resmoke_tasks_command is not None + return (self.generate_resmoke_tasks_command is not None + or self.generate_randomized_multiversion_command is not None) @property def run_tests_command(self): |