Changes between Initial Version and Version 1 of Ticket #956, comment 12


Ignore:


Timestamp:
Mar 19, 2016, 11:27:01 PM (3 years ago)
Author:
rayalan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #956, comment 12

    initial v1  
    33However, that approach seems a bit niche. Is there need for a more flexible solution? For example, a more flexible solution would be to make the mode `schedulerdependent`, pass in a function to determine which schedulertypes were dependent, and give each scheduler a type. The decision code would then be something like:
    44
    5 ```
     5{{{
    66if "schedulerdependent" in self.mode and self.isSchedulerSignificant(build.getProperty('schedulertype')):
    77   return True
    8 ```
     8}}}