Skip to content

Provide Context Property that Provides Information About Failing Task When Using Continue-On-Error Switch #76

Description

@CurroRodriguez

Story

As a task developer, I want to know if a previous task has failed when the user executes bolt with the --continue-on-error switch, so I can decide what my task should do in certain conditions.

Description

Bolt provides a --continue-on-error switch that will continue to execute tasks even if some of the fail. Although, it is not recommended to use that switch often, some times it can be handy to let subsequent tasks run if some failures are found.

The task execution context should expose a property that provides information of tasks that have been executed and failed, so other tasks can evaluate that information and make decisions about it.

The information provides should be simple; probably, a dictionary where the keys are the failed tasks names and the values are the raised exception that caused the failure.

The implementation of this feature depends on the implementation of Issue #75 which provides the task execution context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions