Ir al contenido

Pipelines

Los pipelines de un proyecto: listarlos, leer uno o el último, lanzar uno, esperar a que termine, reintentar, cancelar y borrar uno, actualizar sus metadatos y leer sus variables y su informe de pruebas JUnit o su resumen. Borrar un pipeline borra con él sus jobs.

Las programaciones de pipelines (con sus variables, ejecutar una ahora y quedarse con una), los tokens de disparo de pipelines (y lanzar un pipeline con uno) y los grupos de recursos, los bloqueos que impiden que unos jobs se ejecuten a la vez, también son acciones de este grupo.

  • “Muestra los pipelines del proyecto 42”
  • “¿Cuál es el estado del último pipeline en main?”
  • “Reintenta el pipeline fallido”
  • “¿Qué pruebas fallaron en el pipeline 1234?”
  • Dinámica, la superficie predeterminada: llama a gitlab_execute_action con action igual al ID de la acción, como pipeline.cancel, y sus parámetros en params. gitlab_find_action encuentra un ID a partir de una descripción de la tarea.
  • Meta (GITLAB_MCP_TOOL_SURFACE=meta): llama a gitlab_pipeline con action igual al nombre de la acción, como cancel, y sus parámetros en params.
  • Individual (GITLAB_MCP_TOOL_SURFACE=individual): llama a la herramienta propia de la acción, como gitlab_pipeline_cancel, pasándole directamente sus parámetros.

Todos los niveles sirven el grupo completo, tanto en instancias autogestionadas como en GitLab.com.

Acciones de solo lectura: 15 de 33, las que conserva un despliegue en modo de solo lectura.

La descripción de cada acción, y la de cada uno de sus parámetros, es el texto que sirve el servidor para ella en la superficie predeterminada, citado tal cual; por eso está en inglés. Una acción destructiva solo se ejecuta una vez confirmada, salvo que GITLAB_MCP_YOLO_MODE (o AUTOPILOT) se salte ese paso: la superficie dinámica necesita confirm: true en gitlab_execute_action, y las otras dos aceptan un parámetro confirm o la pregunta del cliente (Acciones destructivas).

AcciónIndividual
pipeline.cancelgitlab_pipeline_cancel
pipeline.creategitlab_pipeline_create
pipeline.deletegitlab_pipeline_delete
pipeline.getgitlab_pipeline_get
pipeline.latestgitlab_pipeline_latest
pipeline.listgitlab_pipeline_list
pipeline.resource_group_editgitlab_edit_resource_group
pipeline.resource_group_getgitlab_get_resource_group
pipeline.resource_group_listgitlab_list_resource_groups
pipeline.resource_group_upcoming_jobsgitlab_list_resource_group_upcoming_jobs
pipeline.retrygitlab_pipeline_retry
pipeline.schedule_creategitlab_pipeline_schedule_create
pipeline.schedule_create_variablegitlab_pipeline_schedule_create_variable
pipeline.schedule_deletegitlab_pipeline_schedule_delete
pipeline.schedule_delete_variablegitlab_pipeline_schedule_delete_variable
pipeline.schedule_edit_variablegitlab_pipeline_schedule_edit_variable
pipeline.schedule_getgitlab_pipeline_schedule_get
pipeline.schedule_listgitlab_pipeline_schedule_list
pipeline.schedule_list_triggered_pipelinesgitlab_pipeline_schedule_list_triggered_pipelines
pipeline.schedule_rungitlab_pipeline_schedule_run
pipeline.schedule_take_ownershipgitlab_pipeline_schedule_take_ownership
pipeline.schedule_updategitlab_pipeline_schedule_update
pipeline.test_reportgitlab_pipeline_test_report
pipeline.test_report_summarygitlab_pipeline_test_report_summary
pipeline.trigger_creategitlab_pipeline_trigger_create
pipeline.trigger_deletegitlab_pipeline_trigger_delete
pipeline.trigger_getgitlab_pipeline_trigger_get
pipeline.trigger_listgitlab_pipeline_trigger_list
pipeline.trigger_rungitlab_pipeline_trigger_run
pipeline.trigger_updategitlab_pipeline_trigger_update
pipeline.update_metadatagitlab_pipeline_update_metadata
pipeline.variablesgitlab_pipeline_variables
pipeline.waitgitlab_pipeline_wait

Cancel a running pipeline. Returns: updated pipeline metadata reflecting the canceled status. See also: pipeline.get, pipeline.retry, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción cancel
  • Herramienta individual: gitlab_pipeline_cancel
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to act on
project_idstring/integersíProject ID or URL-encoded path

Create a new pipeline. Returns: created pipeline metadata including ID, status, and target ref. See also: pipeline.get, pipeline.wait, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción create
  • Herramienta individual: gitlab_pipeline_create
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
refstringsíBranch or tag name to run the pipeline for
inputsobjectnoPipeline input parameters keyed by input name. Values may be string, number, boolean, or array of strings, matching the inputs declared in .gitlab-ci.yml spec:inputs.
variablesobject[]noPipeline variables to set

Delete a pipeline and all its jobs. Returns: a success status and confirmation message. See also: pipeline.get, pipeline.list, pipeline.cancel.

  • Meta-herramienta: gitlab_pipeline, acción delete
  • Herramienta individual: gitlab_pipeline_delete
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to delete
project_idstring/integersíProject ID or URL-encoded path

Get one pipeline by ID. Returns: full pipeline metadata, status lifecycle fields, and links. See also: pipeline.list, pipeline.variables, job.list_project, pipeline.retry.

  • Meta-herramienta: gitlab_pipeline, acción get
  • Herramienta individual: gitlab_pipeline_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to retrieve
project_idstring/integersíProject ID or URL-encoded path

Get the latest pipeline for a ref. Returns: full pipeline metadata for the most recent run. See also: pipeline.get, pipeline.list, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción latest
  • Herramienta individual: gitlab_pipeline_latest
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
created_afterstringnoReturn pipelines created after date (ISO 8601 format). Applies to the list fallback.
created_beforestringnoReturn pipelines created before date (ISO 8601 format). Applies to the list fallback.
namestringnoFilter by pipeline name. Applies to the list fallback.
order_bystring (id, status, ref, updated_at, user_id)noOrder by field (id, status, ref, updated_at, user_id). Applies to the list fallback.
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
refstringnoBranch or tag name to filter by (defaults to the default branch)
scopestring (running, pending, finished, branches, tags)noFilter by scope (running, pending, finished, branches, tags). Applies to the list fallback.
shastringnoFilter by commit SHA. Applies to the list fallback.
sortstring (asc, desc)noSort direction (asc, desc). Applies to the list fallback.
sourcestring (api, chat, external, external_pull_request_event, merge_request_event, ondemand_dast_scan, ondemand_dast_validation, parent_pipeline, pipeline, push, schedule, security_orchestration_policy, trigger, web, webide)noFilter by pipeline source (api, chat, external, external_pull_request_event, merge_request_event, ondemand_dast_scan, ondemand_dast_validation, parent_pipeline, pipeline, push, schedule, security_orchestration_policy, trigger, web, webide). Applies to the list fallback.
statusstring (created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled)noFilter by status (created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled). Applies to the list fallback.
updated_afterstringnoReturn pipelines updated after date (ISO 8601 format). Applies to the list fallback.
updated_beforestringnoReturn pipelines updated before date (ISO 8601 format). Applies to the list fallback.
usernamestringnoFilter by username that triggered the pipeline. Applies to the list fallback.
yaml_errorsbooleannoReturn only pipelines with YAML errors. Applies to the list fallback.

List project pipelines with filters and pagination. Returns: pipeline IDs, refs, statuses, source, and timing metadata. See also: pipeline.get, pipeline.latest, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción list
  • Herramienta individual: gitlab_pipeline_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
created_afterstringnoReturn pipelines created after date (ISO 8601 format, e.g. 2025-01-01T00:00:00Z)
created_beforestringnoReturn pipelines created before date (ISO 8601 format, e.g. 2025-12-31T23:59:59Z)
namestringnoFilter by pipeline name
order_bystring (id, status, ref, updated_at, user_id)noOrder by field (id, status, ref, updated_at, user_id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
refstringnoFilter by branch or tag name
scopestring (running, pending, finished, branches, tags)noFilter by scope (running, pending, finished, branches, tags)
shastringnoFilter by commit SHA
sortstring (asc, desc)noSort direction (asc, desc)
sourcestring (api, chat, external, external_pull_request_event, merge_request_event, ondemand_dast_scan, ondemand_dast_validation, parent_pipeline, pipeline, push, schedule, security_orchestration_policy, trigger, web, webide)noFilter by pipeline source (api, chat, external, external_pull_request_event, merge_request_event, ondemand_dast_scan, ondemand_dast_validation, parent_pipeline, pipeline, push, schedule, security_orchestration_policy, trigger, web, webide)
statusstring (created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled)noFilter by status (created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled)
updated_afterstringnoReturn pipelines updated after date (ISO 8601 format, e.g. 2025-01-01T00:00:00Z)
updated_beforestringnoReturn pipelines updated before date (ISO 8601 format, e.g. 2025-12-31T23:59:59Z)
usernamestringnoFilter by username that triggered the pipeline
yaml_errorsbooleannoReturn only pipelines with YAML errors

Update the process mode of one CI resource group by key. Returns: the updated resource group ID, key, new process mode that controls how queued jobs sharing the resource group are serialized, and created and updated times. See also: pipeline.resource_group_get, pipeline.resource_group_list, pipeline.resource_group_upcoming_jobs.

  • Meta-herramienta: gitlab_pipeline, acción resource_group_edit
  • Herramienta individual: gitlab_edit_resource_group
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
keystringsíResource group key
process_modestring (unordered, oldest_first, newest_first, newest_ready_first)síProcess mode: unordered, oldest_first, newest_first, or newest_ready_first
project_idstring/integersíProject ID or URL-encoded path

Get one CI resource group in a project by key. Returns: the resource group ID, key, process mode (the concurrency mode that controls how jobs sharing the resource group are serialized), and created and updated times. See also: pipeline.resource_group_list, pipeline.resource_group_edit, pipeline.resource_group_upcoming_jobs.

  • Meta-herramienta: gitlab_pipeline, acción resource_group_get
  • Herramienta individual: gitlab_get_resource_group
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
keystringsíResource group key
project_idstring/integersíProject ID or URL-encoded path

List the CI resource groups configured for a project. Returns: each resource group’s ID, key, process mode that controls how jobs sharing the group are serialized to limit pipeline concurrency, and created and updated times, with pagination metadata. See also: pipeline.resource_group_get, pipeline.resource_group_edit, pipeline.resource_group_upcoming_jobs.

  • Meta-herramienta: gitlab_pipeline, acción resource_group_list
  • Herramienta individual: gitlab_list_resource_groups
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.

List the upcoming CI jobs queued for one resource group by key. Returns: each pending job’s ID, name, status, stage, ref, tag and allow-failure flags, pipeline, web URL, and creation time, ordered as they will run under the resource group’s process mode, with pagination metadata. See also: pipeline.resource_group_get, pipeline.resource_group_list, job.list.

  • Meta-herramienta: gitlab_pipeline, acción resource_group_upcoming_jobs
  • Herramienta individual: gitlab_list_resource_group_upcoming_jobs
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
keystringsíResource group key
project_idstring/integersíProject ID or URL-encoded path
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.

Retry failed and canceled jobs in a pipeline. Returns: updated pipeline metadata after re-queuing jobs. See also: pipeline.get, pipeline.cancel, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción retry
  • Herramienta individual: gitlab_pipeline_retry
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to act on
project_idstring/integersíProject ID or URL-encoded path

Create a pipeline schedule. Returns: the created schedule with id, description, ref, cron, owner, and inputs. See also: pipeline.schedule_get, pipeline.schedule_update, pipeline.schedule_list.

  • Meta-herramienta: gitlab_pipeline, acción schedule_create
  • Herramienta individual: gitlab_pipeline_schedule_create
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
cronstringsíCron expression (e.g. 0 1 * * *)
descriptionstringsíSchedule description
project_idstring/integersíProject ID or URL-encoded path
refstringsíBranch or tag to run the pipeline on
activebooleannoWhether the schedule is active (default: true)
cron_timezonestringnoCron timezone (e.g. UTC or America/New_York)
inputsobject[]noPipeline inputs to seed on the schedule. Each entry has name and value

Create a pipeline schedule variable. Returns: the created variable with key, value, variable_type, and raw. See also: pipeline.schedule_edit_variable, pipeline.schedule_delete_variable.

  • Meta-herramienta: gitlab_pipeline, acción schedule_create_variable
  • Herramienta individual: gitlab_pipeline_schedule_create_variable
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
keystringsíVariable key
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID
valuestringsíVariable value. Required when creating a schedule variable
variable_typestring (env_var, file)noVariable type: env_var (default) or file

Delete a pipeline schedule permanently. Returns: a success confirmation. See also: pipeline.schedule_get, pipeline.schedule_list.

  • Meta-herramienta: gitlab_pipeline, acción schedule_delete
  • Herramienta individual: gitlab_pipeline_schedule_delete
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID

Delete a pipeline schedule variable. Returns: a success confirmation naming the key. See also: pipeline.schedule_create_variable, pipeline.schedule_edit_variable.

  • Meta-herramienta: gitlab_pipeline, acción schedule_delete_variable
  • Herramienta individual: gitlab_pipeline_schedule_delete_variable
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
keystringsíVariable key to delete
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID

Edit a pipeline schedule variable. Returns: the updated variable with key, value, variable_type, and raw. See also: pipeline.schedule_create_variable, pipeline.schedule_delete_variable.

  • Meta-herramienta: gitlab_pipeline, acción schedule_edit_variable
  • Herramienta individual: gitlab_pipeline_schedule_edit_variable
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
keystringsíVariable key to edit
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID
valuestringsíNew variable value. Required when editing a schedule variable
variable_typestring (env_var, file)noVariable type: env_var or file

Get a single pipeline schedule by ID. Returns: the schedule with cron, ref, owner, last_pipeline, variables, and inputs. See also: pipeline.schedule_list, pipeline.schedule_update, pipeline.schedule_run.

  • Meta-herramienta: gitlab_pipeline, acción schedule_get
  • Herramienta individual: gitlab_pipeline_schedule_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID

List pipeline schedules in a project. Returns: schedules with description, ref, cron, owner, and pagination metadata. See also: pipeline.schedule_get, pipeline.schedule_create.

  • Meta-herramienta: gitlab_pipeline, acción schedule_list
  • Herramienta individual: gitlab_pipeline_schedule_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
scopestring (active, inactive)noFilter by scope: active or inactive
sortstring (asc, desc)noSort order for keyset pagination: asc or desc

List pipelines triggered by a schedule. Returns: triggered pipelines with status, ref, sha, web URL, and pagination metadata. See also: pipeline.schedule_get, pipeline.schedule_run.

  • Meta-herramienta: gitlab_pipeline, acción schedule_list_triggered_pipelines
  • Herramienta individual: gitlab_pipeline_schedule_list_triggered_pipelines
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID
order_bystringnoColumn to order results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort direction for triggered pipelines: asc or desc (default asc)

Run a pipeline schedule immediately. Returns: the schedule’s current state after triggering. See also: pipeline.schedule_get, pipeline.schedule_list_triggered_pipelines.

  • Meta-herramienta: gitlab_pipeline, acción schedule_run
  • Herramienta individual: gitlab_pipeline_schedule_run
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID

Take ownership of a pipeline schedule. Returns: the schedule with the caller as owner. See also: pipeline.schedule_update, pipeline.schedule_run.

  • Meta-herramienta: gitlab_pipeline, acción schedule_take_ownership
  • Herramienta individual: gitlab_pipeline_schedule_take_ownership
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID

Update a pipeline schedule. Returns: the updated schedule with cron, ref, owner, and inputs. See also: pipeline.schedule_get, pipeline.schedule_take_ownership.

  • Meta-herramienta: gitlab_pipeline, acción schedule_update
  • Herramienta individual: gitlab_pipeline_schedule_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
schedule_idintegersíPipeline schedule ID
activebooleannoEnable or disable the schedule
cronstringnoUpdated cron expression
cron_timezonestringnoUpdated cron timezone
descriptionstringnoUpdated description
inputsobject[]noPipeline inputs to set on the schedule. Each entry has name, value, and optional destroy
refstringnoUpdated branch or tag

Get a pipeline’s full test report. Returns: total/passed/failed/skipped counts and per-suite breakdown. See also: pipeline.test_report_summary, pipeline.get, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción test_report
  • Herramienta individual: gitlab_pipeline_test_report
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to retrieve
project_idstring/integersíProject ID or URL-encoded path

Get a pipeline’s test report summary. Returns: aggregate test totals and per-suite summaries with build IDs. See also: pipeline.test_report, pipeline.get, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción test_report_summary
  • Herramienta individual: gitlab_pipeline_test_report_summary
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to retrieve
project_idstring/integersíProject ID or URL-encoded path

Create a pipeline trigger token. Returns: the created trigger with id, description, token secret, and owner. See also: pipeline.trigger_run, pipeline.trigger_list, pipeline.trigger_delete.

  • Meta-herramienta: gitlab_pipeline, acción trigger_create
  • Herramienta individual: gitlab_pipeline_trigger_create
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or path
descriptionstringnoTrigger token description

Delete a pipeline trigger token. Returns: a success confirmation. See also: pipeline.trigger_get, pipeline.trigger_create.

  • Meta-herramienta: gitlab_pipeline, acción trigger_delete
  • Herramienta individual: gitlab_pipeline_trigger_delete
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or path
trigger_idintegersíPipeline trigger ID

Get a single pipeline trigger token. Returns: the trigger with id, description, token, owner, and timestamps. See also: pipeline.trigger_list, pipeline.trigger_update, pipeline.trigger_delete.

  • Meta-herramienta: gitlab_pipeline, acción trigger_get
  • Herramienta individual: gitlab_pipeline_trigger_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or path
trigger_idintegersíPipeline trigger ID

List a project’s pipeline trigger tokens. Returns: trigger tokens with id, description, owner, last-used time, and pagination metadata. See also: pipeline.trigger_get, pipeline.trigger_create, pipeline.trigger_run.

  • Meta-herramienta: gitlab_pipeline, acción trigger_list
  • Herramienta individual: gitlab_pipeline_trigger_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or path
order_bystringnoField by which to order results when using keyset pagination (e.g. id).
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order: asc or desc. Defaults to the API ordering.

Trigger a pipeline using a trigger token. Returns: the created pipeline with id, status, ref, sha, source, user, detailed_status, and web URL. See also: pipeline.trigger_list, pipeline.get.

  • Meta-herramienta: gitlab_pipeline, acción trigger_run
  • Herramienta individual: gitlab_pipeline_trigger_run
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or path
inputsobjectnoMap of pipeline input name to value (string, number, boolean, or array of strings) for inputs declared in the pipeline spec.
refstringnoBranch or tag name to run pipeline on
tokenstringnoPipeline trigger token
variablesobjectnoMap of CI/CD variable name to value injected into the triggered pipeline.

Update a pipeline trigger token’s description. Returns: the updated trigger with id, description, token, and owner. See also: pipeline.trigger_get, pipeline.trigger_delete.

  • Meta-herramienta: gitlab_pipeline, acción trigger_update
  • Herramienta individual: gitlab_pipeline_trigger_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or path
trigger_idintegersíPipeline trigger ID
descriptionstringnoNew trigger token description

Update a pipeline’s name. Returns: updated pipeline metadata reflecting the new name. See also: pipeline.get, pipeline.list, pipeline.create.

  • Meta-herramienta: gitlab_pipeline, acción update_metadata
  • Herramienta individual: gitlab_pipeline_update_metadata
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
namestringsíNew pipeline name
pipeline_idintegersíPipeline ID to update
project_idstring/integersíProject ID or URL-encoded path

List a pipeline’s runtime variables. Returns: variable keys, values, types, and whether each value is raw (not expanded). See also: pipeline.get, pipeline.create, job.list_project.

  • Meta-herramienta: gitlab_pipeline, acción variables
  • Herramienta individual: gitlab_pipeline_variables
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID to retrieve
project_idstring/integersíProject ID or URL-encoded path

Use only to poll an existing pipeline_id until a terminal status. For merge when pipeline succeeds, use merge_request.merge with auto_merge=true instead.

  • Meta-herramienta: gitlab_pipeline, acción wait
  • Herramienta individual: gitlab_pipeline_wait
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pipeline_idintegersíPipeline ID returned by pipeline.list, pipeline.get, pipeline.latest, or merge_request.pipelines. Do not use merge_request_iid.
project_idstring/integersíProject ID or URL-encoded path
fail_on_errorbooleannoReturn isError when pipeline ends in failed/canceled status (default true)
interval_secondsintegernoPolling interval in seconds (5-60, default 10)
timeout_secondsintegernoMaximum wait time in seconds (1-3600, default 300)