ci-jenkins-pipelines icon indicating copy to clipboard operation
ci-jenkins-pipelines copied to clipboard

Consider raising number of artefacts kept by build pipelines

Open sxa opened this issue 4 years ago • 4 comments

Current process is to disable nightly testing, but not buids, during a release cycle. For at least some pipelines, only one artefact is being kept. This means that it is highly likely that if any re-runs of test jobs are required which reference the upstream job, the artefacts will already have been removed from the individual jobs when a re-run is required, making it more complex to run the tests. We should evaluate the space impacts of increasing this to 2 builds everywhere instead of 1 for Max # of builds to keep with artifacts

sxa avatar Jan 21 '21 12:01 sxa

+1 times 1000 on this request... especially valuable during release periods to be able to rerun stuff (before its published).

smlambert avatar Feb 09 '21 17:02 smlambert

@smlambert Of course the obvious concern with this is that with HotSpot debug images being added soon it will be even more of an increase to our space requirements :-)

sxa avatar Feb 09 '21 17:02 sxa

Indeed, perhaps its configurable to default to keep 1, but during release builds keep 2 until we are through the week...

smlambert avatar Feb 09 '21 17:02 smlambert

Yes, I hit this issue during the last release once upstream artifacts dissappear, although it wasn't too difficult to update the reference to the pipeline artifact

andrew-m-leonard avatar Feb 10 '21 11:02 andrew-m-leonard