Skip to content

Mock Bitbucket Pipelines (mock-bitbucket-pipelines)

Note

This channel does not use the custom template.

Configuration

  • branch - String - required - Branch to run the pipeline on. Templated.

  • callMode - ASYNC, SYNC - required - How to call the pipeline. ASYNC (the default) means that the pipeline is triggered in "fire and forget" mode. When set to SYNC, Yontrack waits for the completion of the pipeline, with a given timeout, and reports an error if the pipeline does not succeed.

  • config - String - required - Name of the Bitbucket Cloud configuration to use for the connection.

  • pipeline - String - optional - Name of a custom pipeline (as defined under pipelines.custom in bitbucket-pipelines.yml). Empty to run the default pipeline of the branch. Templated.

  • repository - String - required - Slug of the repository. Templated.

  • timeoutSeconds - Int - required - Timeout in seconds, when waiting for the pipeline in SYNC mode

  • variables - List - required - Variables to pass to the pipeline, as non-secured variables. Their values are templated. Secrets belong in the repository variables.

    • name - String - required - Name of the variable

    • value - String - required - Value of the variable. Templated.

  • workspace - String - required - Slug of the Bitbucket Cloud workspace. Templated.

Output

  • displayName - String - required - displayName field

  • enabled - Boolean - required - enabled field

  • type - String - required - type field