feat(ci): align job id resolution ( #7422)
Description
Implementation of Resolution Strategy mentioned in #7422 (closed)
Allow using a jobId, jobName or interactive Job Resolution in all commands for ci (retry, trace).
$ glab ci trace
#=> interactively select a job to trace
$ glab ci trace 224356863
#=> trace job with id 224356863
$ glab ci trace lint
#=> trace job with name lint
I will update trigger command if MR !1374 (merged) is merged
Related Issues
Resolves #7422 (closed)
How has this been tested?
tested with UnitTests and shell
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) -
Test gap
Edited by Andreas Weber