Skip to content

project.trigger_pipeline: missing parameter for "pipeline inputs" #3194

@misery

Description

@misery

Description of the problem, including code/CLI snippet

Since Pipeline inputs are official now the python-gitlab should support it in trigger_pipeline, too.
It seems it was not added:
https://github.com/python-gitlab/python-gitlab/blob/main/gitlab/v4/objects/projects.py#L427

    def trigger_pipeline(
        self,
        ref: str,
        token: str,
        variables: dict[str, Any] | None = None,
        **kwargs: Any,
    ) -> ProjectPipeline:

Expected Behavior

Add parameter for Pipeline inputs.

Actual Behavior

Not possible with trigger_pipeline

Specifications

  • python-gitlab version: 5.6.0
  • Gitlab server version (or gitlab.com): 17.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy