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.
```
+ 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.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: ` } ]'```
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.