~pieq/checkbox/add-30suspend-1reboot-cycles-support

Viewing all changes in revision 4026.2.2.

  • Committer: Zygmunt Krynicki
  • Date: 2015-09-25 07:28:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4028.
  • Revision ID: zygmunt.krynicki@canonical.com-20150925072831-6l14ydn1ghivt7de
plainbox: add support for 'after' constraint

This patch adds the 'after' ordering constraint. It is exactly the same
as 'depends' but unlike it, it will not inhibit a job from running if
the other job runs but fails (or crashes). It is especially useful for
enforcing the order on a pair of jobs where the job that runs second can
collect the log files or the system state after the execution of the
first job.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: