Add SkipJob for indicating a skipped activity
Description
This MR reworks the current usage of the SKIPPED message type into being used alongside FAILURE, SUCCESS to indicate the end of the timed activity.
To use this new functionality, raise SkipJob() within a timed_activity(). This will log the SKIPPED message, exit the context and return to your logic outside of the context as SUCCESS would.
Changes proposed in this merge request:
- Add SkipJob
- Use
INFOfor current usages ofSKIPPED - Raise
SkipJobfrom within jobs to skip the current job. - Update tests appropriately
This merge request, when approved, will close issue/bug: #515 (closed)
This merge request, when approved, will close issue/bug: #614 (closed)
Edited by Qinusty