From cf5349dced72b364875ef8a2e28e51b5c0778851 Mon Sep 17 00:00:00 2001 From: Dominic Oram Date: Fri, 11 Oct 2019 17:11:57 +0100 Subject: [PATCH] Allow pipeline to be run manually --- bitbucket-pipelines.yml | 9 +++++++++ pipeline.py | 2 ++ 2 files changed, 11 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index e69de29..9a5f522 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -0,0 +1,9 @@ +image: python:3.7.3 + +pipelines: + custom: + - step: + caches: + - pip + script: + - python pipeline.py \ No newline at end of file diff --git a/pipeline.py b/pipeline.py index e69de29..bbff9c0 100644 --- a/pipeline.py +++ b/pipeline.py @@ -0,0 +1,2 @@ +if __name__ == "__main__": + exit(1) # Fail the pipeline