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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Only one authentication method is allowed" error while using Jfrog cli pipe


I'm trying to access Jfrog artifactory from bitbucket pipeline and it is failing with following error.  I have configured only one variable in Repository variables using `JF_ARTIFACTORY_` prefix and there are no other varaibles with JF_ARTIFACTORY_ prefix at workspace level.


pipe: jfrog/jfrog-setup-cli:1.0.03s
source ./<1s
+ source ./
Downloading version 1.37.1 of JFrog CLI...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
9 19.0M 9 1790k 0 0 15.8M 0 0:00:01 --:--:-- 0:00:01 15.8M
100 19.0M 100 19.0M 0 0 45.2M 0 --:--:-- --:--:-- --:--:-- 55.6M
[Info] Importing server ID 'serverid'
[Error] Only one authentication method is allowed: Username + Password/API key, RSA Token (SSH) or Access Token.
It seems that there are more than one authentication methods being enabled/used but I'm not aware  of any other authentication method that is enabled but it is finding something (besides the access token).
Can anyone help me identify what could be going wrong here?
If I use the version 2.13.0 jfrog cli version, I get following error. I could change the version using repository variable `JFROG_CLI_VERSION`
source ./jfrog-setup-cli.sh1s
+ source ./
Downloading version $JFROG_CLI_VERSION of JFrog CLI...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 80 0 80 0 0 439 0 --:--:-- --:--:-- --:--:-- 439
/usr/bin/jfrog: line 5: syntax error near unexpected token `]'
/usr/bin/jfrog: line 5: ` } ]'```

1 answer

0 votes

Hi @a2l,

I would suggest raising an issue here:

This pipe is developed by jfrog, and the repo's README page asks users to report issues in that issue tracker.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events