Don't show keep path for non archive artifacts
Non archive artifacts are not keepable so don't return the keep_path for them. Use has_expiring_archive_artifacts in BuildArtifactEntity. Move has_expiring_artifacts to be private. Preload job_artifacts_archive when loading bunch of pipelines to avoid N+1 query.
Showing
Please register or sign in to comment