Access to private Bitbucket raw content with OAuth

pvittali April 15, 2018

I am running OSGi bnd projects as pipeline  gradle builds. During the build process, bnd needs to access an index file in a private repo. The relevant line in the bnd configuration is:

locations=https://bitbucket.org/{username}/{repo}/raw/master/index.xml.gz;

 

How can I use OAuth to authenticate given that I must include the credentials in the above URL. I already have a key and secreate but I don't understand how I can get a permanent access token that I could include in the above URL. Is this even possible with OAuth ?

Regards

Peter

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events