Hello,
I am trying to add a bitbucket_server repository using Bamboo-cli. But it is erroring out with the following message:
Any help would be highly appreciated.
CLI Command:
-a addRepository --plan "PIL-PL12" --name stash-example --repositoryKey STASH --field1 repository.stash.projectKey --value1 TEST --field2 repository.stash.repositoryId --value2 1 --field3 repository.stash.repositorySlug --value3 sample-repo --field4 repository.stash.server --value4 Bitbucket --field5 branch --value5 master --field6 repository.stash.repositoryUrl --value6 http://admin@localhost:7990/scm/test/sample-repo.git
Error:
Client error: Could not check if existing access key is valid: id must be a valid java.util.UUID string: Bitbucket
org.swift.common.cli.CliClient$ClientException: Could not check if existing access key is valid: id must be a valid java.util.UUID string: Bitbucket
at org.swift.bamboo.cli.helpers.RepositoryHelper.addOrUpdateRepository(RepositoryHelper.java:253)
at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:860)
at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:506)
at org.swift.common.cli.CliClient.doWork(CliClient.java:572)
at org.swift.common.cli.CliClient.doWork(CliClient.java:704)
at org.swift.common.cli.CliClient.doWork(CliClient.java:688)
at org.swift.common.cli.CliClient.processRunLine(CliClient.java:1601)
at org.swift.common.cli.DefaultRemoteClient.processRunLine(DefaultRemoteClient.java:708)
at org.swift.common.cli.CliClient.doSingleRunLine(CliClient.java:1541)
at org.swift.common.cli.CliClient.run(CliClient.java:1396)
at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:595)
at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:506)
at org.swift.common.cli.CliClient.doWork(CliClient.java:572)
at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:349)
Client error: 1 actions failed from file: C:\Honeywell_CI_CD\scripts\test.txt
org.swift.common.cli.CliClient$ClientException: 1 actions failed from file: C:\Honeywell_CI_CD\scripts\test.txt
at org.swift.common.cli.CliClient.run(CliClient.java:1478)
at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:595)
at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:506)
at org.swift.common.cli.CliClient.doWork(CliClient.java:572)
at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:349)
Thanks In Advance :)
Hi Sugendh,
Can you please let us know if you perform the action using the GUI you are facing the same issue, seems to be an already existing issue reported https://jira.atlassian.com/browse/BAM-17421
Regards,
Vijay Ramamurthy
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.