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,360,949
Community Members
 
Community Events
168
Community Groups

How to setup atlassian-cli 9.2 to use netrc

Edited

Hi,

 

This is something that used to work with 8.8.0, but now with 9,2,0, I get the following error:

Parameter error: This function requires a non-blank value for parameter password

 

I have the user name and password in my .netrc file, so I thought the command line client would pick it up? I didn't build both versions, so maybe there was an option to add when building the jar?

1 answer

Hi @Matthieu Brucher ,

Welcome to Community and Thanks for posting your Bamboo Command Line Interface ( CLI) requirement in Community!

We are from the Bobswift support team and we have raised a support request SUPPORT-3989 in our portal to troubleshoot the reported issue and please sign up to the portal. Once you signup, please let us know your username so that we can add yourself to the reporter of the support request.

Can you please provide us below additional details to troubleshoot the issue further.

  • Please let us know how you calling the .netrc file for CLI action.
  • Provide us .netrc file by removing login details.
  • Append --debug to action you are running and provide us debug logs.
  • Let us how you defined .netrc file in CLI 8.8 and CLI 9.2

Also for CLI 9.2, it is recommended to define Server and Login details in acli.properties file and alternatively you can define use environment variables for password parameters. Please find How to use environment variables for password parameters for your reference.

Thanks,
Avinash

Hi @Matthieu Brucher ,

I just wanted to touch base with you and see whether you got a chance to review our previous message. 

Thanks,

Avinash

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

310 views 0 7
Read article

Atlassian Community Events