Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST: provide a callback for success/failure #24

Open
spil-paoloiannelli opened this issue Dec 14, 2012 · 0 comments
Open

REQUEST: provide a callback for success/failure #24

spil-paoloiannelli opened this issue Dec 14, 2012 · 0 comments

Comments

@spil-paoloiannelli
Copy link

Based on the result of the job, we should be able to pass to job-runner a callback function that will be triggered based on the result of the job.

IE. if the job fails we want to provide a normal python function as argument to clean up the dirty environment that could have been left from the failed job.
On the other hand, in case a job succeed, we could hook a specific function to execute.

Generically, it should be possible to attach a callback that will be triggered based on job status change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant