It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,042 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you