Skip to content
New issue

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

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

Already on GitHub? # to your account

Support toolchain cleanup #61

Closed
samrocketman opened this issue Mar 30, 2015 · 1 comment
Closed

Support toolchain cleanup #61

samrocketman opened this issue Mar 30, 2015 · 1 comment

Comments

@samrocketman
Copy link
Owner

Some post build actions need to occur during the post build clean up. For example, in ruby rvm should build inside of a randomly numbered gemset and when the build is finished there should be a step to clean up that gemset. This is desired when builds happen on long running slaves. Some thought should be put into how to handle this. This is less of an issue on an ephemeral build slave.

@samrocketman
Copy link
Owner Author

samrocketman commented Oct 27, 2016

Toolchains cleanup should use a trap function which is a built-in for bash. It should be defined at the end of all toolchains. The reason being is some toolchains (I'm looking at you RVM) clear all trap functions when they're loaded.

samrocketman added a commit that referenced this issue Oct 27, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant