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

Delete all exports if build fails #53

Open
buckd opened this issue Apr 30, 2019 · 0 comments
Open

Delete all exports if build fails #53

buckd opened this issue Apr 30, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@buckd
Copy link
Collaborator

buckd commented Apr 30, 2019

Because we have multiple parallel builds for different versions of LabVIEW in a single pipeline, the archiving is performed for each version from the individual node where the build is executing.

This means that if a build for one lvVersion is successful, that build is copied to the archive location. However, if one of the builds also fails, we are left with an export that contains some, but not all, of the expected versions. This causes problems when we want to find the latest build (to create feeds). There is no way to tell if a given export is actually good.

Because there is now a Validation stage that checks to make sure all versions were exported, if they are not all there, we should remove that build from the archive location. This allows us to only keep good builds. It makes creating feeds easier and also frees up disk space.

@buckd buckd added the enhancement New feature or request label Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant