Skip to content

Instantly share code, notes, and snippets.

View mark-blackburn-orpyx's full-sized avatar

mark-blackburn-orpyx

View GitHub Profile
@mark-blackburn-orpyx
mark-blackburn-orpyx / bitbucket_pipelines_test.py
Last active June 12, 2022 21:17
Local Bitbucket Windows Runner Pipeline Test
"""Local Bitbucket Windows Runner Pipeline Test
Run a bitbucket-pipelines.yml locally using Powershell as the interpreter.
This allows you to test a bitbucket-pipelines.yml file locally without pushing it to a repository.
Example:
$ python bitbucket_pipelines_test.py "Pipeline step 1" --env env.json