Skip to content

fix(pkg/api/pipeline): sort pipeline jobs using CreatedAt

Clement Sam requested to merge fix-pipeline-reverse into trunk

Description

ListPipelineJobs returns jobs sorted by ID in descending order instead of returning them in the order in which they were created, so we restore the order using the createdAt

Related Issue

Resolves #432 (closed)

How Has This Been Tested?

On glab test repo

Screenshots (if appropriate): On glab image

On GitLab image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports