Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,564
Community Members
 
Community Events
165
Community Groups

Bitbucket Pipeline Runner

Hi Everyone,

I have created a Bitbucket Pipeline and workspace runner .

my project is node js Project , we are using private registry called 'Verdaccio',

To Publish code to Private repository, we need add credentials, but we can not pass credentials   

is there way to access to Agent of the pipeline and we tired to access runner (which is running as docker),

we are unable to find Agent working directory , it will be to add  private repository credentials  

Could you please advise how to agent directory 

 

Thanks,

Venkatesh

1 answer

0 votes
Caroline R Atlassian Team Oct 12, 2021

Hi, @venkatesh_gudipati! Welcome to the community! 

You can set up secured repository variables for any credentials, and use these variables in your yml file. This way, you won’t have to hardcode the credentials in the yml file.

You can create repository variables by accessing your repository > Repository settings > Pipelines > Repository variables

Note: Repository variables override workspace variables. In case you would like to read more about variables in pipelines, I suggest the following documentation: 

Also, I'm afraid that it's not possible to access the build directory from the host machine.

I hope this helps, but do let me know if you have any questions. 

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,231 views 2 9
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