Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Cannot trigger job with matrix parallel: 1 via name

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: 1.53.0 (2025-02-11)
  • Operating system and version: macOS
  • Gitlab.com or self-managed instance? both
  • I have performed glab auth status to check for authentication issues
  • Run the command in debug mode (like DEBUG=true glab mr list) and attach any useful output (nothing useful)

Summary

  1. Create a job with parallel: 1
  2. Try to trigger it via glab ci trigger 'some-job 1/1'
  3. You get:
invalid job ID: some-job 1/1
pipeline 1687915935 contains no jobs.

what you should get is:

Triggered job (ID: 12345 ), status: pending , ref: some-ref , weburl:  https://gitlab.com/some-repo/-/jobs/12345 )

You can work around this by getting the job ID via glab ci get and then using that instead of the name.

Note that other parallel jobs, like the ones with matrix, work fine: glab ci trigger 'some-job: [variant]' works.

Note that glab ci trigger 'some-job' doesn't work either.

Edited Feb 25, 2025 by Michal Srb
Assignee Loading
Time tracking Loading