Interface GitConfiguration.Builder

    • Method Detail

      • sourceActionName

        GitConfiguration.Builder sourceActionName​(String sourceActionName)

        The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

        You can only specify one trigger configuration per source action.

        Parameters:
        sourceActionName - The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.

        You can only specify one trigger configuration per source action.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • push

        GitConfiguration.Builder push​(Collection<GitPushFilter> push)

        The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

        Git tags is the only supported event type.

        Parameters:
        push - The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

        Git tags is the only supported event type.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • push

        GitConfiguration.Builder push​(GitPushFilter... push)

        The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

        Git tags is the only supported event type.

        Parameters:
        push - The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.

        Git tags is the only supported event type.

        Returns:
        Returns a reference to this object so that method calls can be chained together.