-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Execute 'after' phase irrespective of the commands success/failure #156
Comments
@landpro WDYT? |
@akhilbojedla Good point – let's also get some feedback from others IMHO, stopping build makes more sense - we are not sure for what purpose before is getting used. We can give a parameter/flag to do it - by default fail and do not continue. |
@gopinath-langote I think otherwise. Generally For example popular testing frameworks like |
Perhaps this could be controlled via a field, e.g. |
Hello @akhilbojedla I agree with @boonwj It make sense to parameterise the option to the user. Now there are two ways to do it. Either pass the WDYT? |
@gopinath-langote Firstly, Apologies for the late reply. Yes, I think that could be an option. I would personally prefer to do it the other way around though i.e. disabling executing |
Description
In most cases
After
phase needs to be executed irrespective of whether thecommands
are executed successfully or not.For example unset an environment variable (or) cleaning up connections irrespective of the status of execution.
Acceptance Criteria
After
phase should be executed irrespective of the status of execution of commands.The text was updated successfully, but these errors were encountered: