Skip to content

Change post-command to pre-exit in order to guarantee cleanup after each job#9

Merged
filipVisko merged 1 commit intomasterfrom
as-pre-exit
Dec 17, 2020
Merged

Change post-command to pre-exit in order to guarantee cleanup after each job#9
filipVisko merged 1 commit intomasterfrom
as-pre-exit

Conversation

@filipVisko
Copy link
Copy Markdown
Contributor

The semantics for pre-exit hooks means that they always run after a job has either failed or succeeded. A post-command will only run if the command hook exits with 0.

@filipVisko filipVisko merged commit 71c26c7 into master Dec 17, 2020
@filipVisko filipVisko deleted the as-pre-exit branch December 17, 2020 16:17
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

Successfully merging this pull request may close these issues.

1 participant