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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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,466,769
Community Members
 
Community Events
176
Community Groups

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

Edited

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 ./jfrog-setup-cli.sh<1s
+ source ./jfrog-setup-cli.sh
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 ./jfrog-setup-cli.sh
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 https://bitbucket.org/jfrog/jfrog-setup-cli/src/master/ asks users to report issues in that issue tracker.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events