Job Pre/Post plugins: move them to the appropriate location
The JobPre and JobPost plugin interfaces were intended to be run
before and after the job, but in reality they have been executed
at different points *within* the job execution.
This puts the execution of those plugins at their original intended
location:
* Plugins implementing JobPre will be executed right after the Job
instance is created, *before any other action*, such as the
creation of the test suite.
* Plugins implementing JobPost will be executed right after the Job
instance `run()` method.
* Plugins implementing `Result` will be executed after JobPost ones.
Users relying on the old location please take notice.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录