We generate certain artifacts in the initial code checkout stage of the build process (compiler fetch from git) and these are used for further stages. Since, they are shared artifacts used in the next stages, we have to add them as artifacts in the initial code checkout stage.
After the build process is over, we do not wish to retain these intermediate shared artifacts from the initial stage. Is there any way to delete them in the final stage?
If not, then is it possible to manually delete these artifacts selectively from UI/API? Right now, selective artifacts deletion is not possible for a build in UI. All artifacts get deleted together.