glab(1)

πŸ’… glab-job-artifact πŸ’…

okay bestie, welcome to the glab(1) manual β€” this page is all about glab-job-artifact: downloading all artifacts from the most recent pipeline. no cap, that's the assignment. πŸ’–

✨ NAME ✨

glab-job-artifact - Download all artifacts from the most recent pipeline.

🌸 SYNOPSIS 🌸

glab job artifact   [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this command downloads all artifacts from the most recent successful pipeline. the way it just grabs the whole batch πŸ’…

<refName> is a branch name, tag, or merge request reference. For a branch or tag, use the name directly. For a merge request pipeline, replace <iid> with the merge request IID and use the format that matches the pipeline type:

  • refs/merge-requests/<iid>/head: Pipeline on the latest commit of the source branch.
  • refs/merge-requests/<iid>/merge: Pipeline on the merged result (pipelines for merged results).

πŸŽ€ OPTIONS πŸŽ€

  • -l, --list-paths[=false] β€” Print the paths of downloaded artifacts.
  • -p, --path="./" β€” Path to download the artifact files.

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

  • -h, --help[=false] β€” Show help for this command.
  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

πŸ”₯ EXAMPLE πŸ”₯

the examples are literally right here, bestie:

glab job artifact main build
glab job artifact main deploy --path="artifacts/"
glab job artifact main deploy --list-paths
glab job artifact refs/merge-requests/123/head build
glab job artifact refs/merge-requests/123/merge build

🌈 SEE ALSO 🌈

glab-job(1) β€” go give it a lil look too. 🫢


k that's the whole page πŸ’– Auto generated by spf13/cobra, Nov 2026, for the glab(1) manual. periodt. 🌟

πŸ“¦ where this page comes from