Dominio de acciones
job
Todas las acciones que este dominio expone vía gitlab_execute_action, del manifiesto gitlab://tools. Cada entrada se despliega a su descripción completa y sus parámetros obligatorios.
25 · acciones5 · destructivas13 · solo lectura
Contado con un token Free de GitLab. El catálogo depende del token que pregunta, así que el recuento se mueve con su tier y con sus permisos: los tiers superiores exponen más acciones, y los dominios de administración solo aparecen a tokens autorizados a usarlos.
Volver a la ficha del servidor
job.artifactsJob Artifactssolo lecturaDownload the full artifact archive for a CI job (base64-encoded, truncated at 1MB). Returns: archive size, content, and truncation flag. See also: job.download_single_artifact, job.keep_artifacts, job.get.
Parámetros obligatorios:
job_id (integer),project_id (string)job.cancelJob CancelCancel a CI job. Set force:true to cancel jobs already in a non-cancellable state (requires GitLab v17.2+). Returns: updated job state. See also: job.get, job.retry.
Parámetros obligatorios:
job_id (integer),project_id (string)job.delete_artifactsJob Delete ArtifactsdestructivaDelete the artifacts for one CI job (destructive). Returns: a success confirmation. See also: job.artifacts, job.get, job.delete_project_artifacts.
Parámetros obligatorios:
job_id (integer),project_id (string)job.delete_project_artifactsJob Delete Project ArtifactsdestructivaDelete every eligible artifact across a project (destructive, irreversible). Returns: a success confirmation. See also: job.delete_artifacts, job.list_project, job.artifacts.
Parámetros obligatorios:
project_id (string)job.download_artifactsJob Download Artifactssolo lecturaDownload the latest successful artifacts archive for a ref and job name. Returns: archive size, content, and truncation flag. See also: job.artifacts, job.download_single_artifact, job.get.
Parámetros obligatorios:
project_id (string)job.download_single_artifactJob Download Single Artifactsolo lecturaDownload one artifact file from a job by job_id and artifact_path. Returns: file size, raw content, and truncation flag. See also: job.artifacts, job.download_artifacts, job.get.
Parámetros obligatorios:
artifact_path (string),job_id (integer),project_id (string)job.download_single_artifact_by_refJob Download Single Artifact By Refsolo lecturaDownload one artifact file from the latest successful job on a ref by name and path. Returns: file size, raw content, and truncation flag. See also: job.download_artifacts, job.download_single_artifact, job.get.
Parámetros obligatorios:
artifact_path (string),job (string),project_id (string),ref_name (string)job.eraseJob ErasedestructivaErase a finished CI job's trace log and artifacts (destructive). Returns: updated job state. See also: job.get, job.trace, job.artifacts.
Parámetros obligatorios:
job_id (integer),project_id (string)job.getJob Getsolo lecturaGet one CI job. Returns: status, stage, ref, embedded commit/pipeline/project/runner/user objects, timing fields, and failure metadata. See also: job.trace, job.cancel, job.retry.
Parámetros obligatorios:
job_id (integer),project_id (string)job.keep_artifactsJob Keep ArtifactsKeep a CI job's artifacts by clearing their expiration. Returns: updated job state. See also: job.artifacts, job.get, job.download_artifacts.
Parámetros obligatorios:
job_id (integer),project_id (string)job.listJob Listsolo lecturaList CI jobs for one pipeline with status filters, keyset pagination, and ordering. Returns: job summaries with status, stage, ref, and pipeline association. See also: job.get, job.trace, pipeline.get.
Parámetros obligatorios:
pipeline_id (integer),project_id (string)job.list_bridgesJob List Bridgessolo lecturaList CI bridge (trigger) jobs for one pipeline with keyset pagination. Returns: bridge summaries with status and downstream pipeline references. See also: job.list, pipeline.get, job.get.
Parámetros obligatorios:
pipeline_id (integer),project_id (string)job.list_projectJob List Projectsolo lecturaList CI jobs in one project with filters, keyset pagination, and ordering. Returns: job summaries, status, stage, ref, and pipeline associations. See also: job.get, job.trace, pipeline.get.
Parámetros obligatorios:
project_id (string)job.playJob PlayRun a manual CI job with optional variable overrides. Returns: the started job state. See also: job.get, job.retry, job.trace.
Parámetros obligatorios:
job_id (integer),project_id (string)job.retryJob RetryRetry a failed or canceled CI job. Returns: the newly created job state. See also: job.get, job.trace, job.cancel.
Parámetros obligatorios:
job_id (integer),project_id (string)job.token_scope_add_groupAdd Group Job Token AllowlistAdd a group to a project's CI/CD job token allowlist. Returns: the new allowlist entry with source project ID and target group ID. See also: job.token_scope_list_groups, job.token_scope_remove_group, job.token_scope_add_project.
Parámetros obligatorios:
project_id (string),target_group_id (integer)job.token_scope_add_projectAdd Project Job Token AllowlistAdd a project to a project's CI/CD job token inbound allowlist. Returns: the new allowlist entry with source and target project IDs. See also: job.token_scope_list_inbound, job.token_scope_remove_project, job.token_scope_add_group.
Parámetros obligatorios:
project_id (string),target_project_id (integer)job.token_scope_getGet Job Token Access Settingssolo lecturaGet a project's CI/CD job token access settings. Returns: whether inbound job token access is limited to the allowlist. See also: job.token_scope_patch, job.token_scope_list_inbound, job.token_scope_list_groups.
Parámetros obligatorios:
project_id (string)job.token_scope_list_groupsList Job Token Group Allowlistsolo lecturaList groups on a project's CI/CD job token allowlist. Returns: allowlisted groups with id, name, full path, and web URL plus pagination metadata. See also: job.token_scope_add_group, job.token_scope_remove_group, job.token_scope_get.
Parámetros obligatorios:
project_id (string)job.token_scope_list_inboundList Job Token Inbound Allowlistsolo lecturaList projects on a project's CI/CD job token inbound allowlist. Returns: allowlisted projects with id, name, path, and web URL plus pagination metadata. See also: job.token_scope_add_project, job.token_scope_remove_project, job.token_scope_get.
Parámetros obligatorios:
project_id (string)job.token_scope_patchPatch Job Token Access SettingsUpdate a project's CI/CD job token access settings. Returns: a confirmation that the inbound scope setting was updated. See also: job.token_scope_get, job.token_scope_add_project, job.token_scope_add_group.
Parámetros obligatorios:
enabled (boolean),project_id (string)job.token_scope_remove_groupRemove Group Job Token AllowlistdestructivaRemove a group from a project's CI/CD job token allowlist. Returns: a success confirmation naming the removed group. See also: job.token_scope_list_groups, job.token_scope_add_group, job.token_scope_remove_project.
Parámetros obligatorios:
project_id (string),target_group_id (integer)job.token_scope_remove_projectRemove Project Job Token AllowlistdestructivaRemove a project from a project's CI/CD job token inbound allowlist. Returns: a success confirmation naming the removed project. See also: job.token_scope_list_inbound, job.token_scope_add_project, job.token_scope_remove_group.
Parámetros obligatorios:
project_id (string),target_project_id (integer)job.traceJob Tracesolo lecturaGet CI job trace output. Returns: text log with truncation metadata when logs exceed limits. See also: job.get, job.retry, job.cancel.
Parámetros obligatorios:
job_id (integer),project_id (string)job.waitJob Waitsolo lecturaWait for a CI job to finish, polling until terminal state or timeout. Returns: final job snapshot, wait duration, poll count, and timed-out flag. See also: job.get, job.trace, job.retry.
Parámetros obligatorios:
job_id (integer),project_id (string)