Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

bitbucket_trigger_pipeline.py - Start a custom pipeline

Description

Starts a custom pipeline of the current Bitbucket repository, on the current branch, through the Bitbucket REST API. Used by 33_trigger_parse_manuscript.sh.

Usage

python3 tools/bitbucket_trigger_pipeline.py <pipeline> [--var NAME=VALUE ...]

Prints the URL of the new run. Exit code 0 if it was started, 1 if not, with the reason on stderr.

Environment Variables