Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do you get a pipe added to the pipe integrations page

Mark Harrison March 24, 2020

How does one go about getting a pipe added to the integrations page (there are 65 at the time of writing)

https://bitbucket.org/product/features/pipelines/integrations

Although I found the way to get them added:

https://bitbucket.org/bitbucketpipelines/official-pipes/src/master/README.md

When I try to follow the guide and run the script as it suggests:

python build.py 'pipes/my-pipe-name.yml'

I receive the following error:

File "build.py", line 145
REPOSITORY_TAGS_URL = f"https://api.bitbucket.org/2.0/repositories/{repository_path}/refs/tags?sort=-name&pagelen=100"
^
SyntaxError: invalid syntax

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Mark Harrison March 30, 2020

Posting the resolution in case it helps anyone else:

The issue with the python script was that I was running it using Python2 (2.7) and the string formatting using "f"https:// ..." as a format wasn't supported til Python 3.

Running on python 3.6, and after installing modules like yaml, docker, cerberus, colorlog, joblib etc finally got it running.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events