Allow downloading of latest job artifacts from jobs listing page when they are the last successful of a pipeline

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

If build artifacts are configured to expire using expire_in, the Download artifacts button on the far right inside CI/CD > Jobs is only visible until the artifact expiry time is met, past this point the button is gone, even if the artifact tied to the job is the newest one and thus doesn't actually get deleted as a result of expiry.

Before artifact expiry:

image

After artifact expiry:

image

  • However, on the CI/CD > Pipelines page, you can still download the latest expired artifacts using the Download artifacts option on the far right.

image

  • You can also still download the artifacts by going directly into the related job itself where you'd see - These artifacts are the latest. They will not be deleted (even if expired) until newer artifacts are available.

image

Proposal

Add the ability to download latest artifacts that are expired but not yet deleted, from the CI/CD > Jobs listing page so that the experience is consistent.

2021-10-27 update: This is blocked by #327500 (closed) currently. Once the grouppipeline execution team wraps up that effort this should be easier to accomplish.

Edited by 🤖 GitLab Bot 🤖