StashRepository is not supported when using Bamboo Artifactory Plugin

I have a maven project with Stash repository and I followed the instruction in https://www.jfrog.com/confluence/display/RTF/Bamboo+Artifactory+Plugin+-+Release+Managementto "build and release to artifactory".

Saw the following error:

Exception occurred while executing custom pre-build action 'org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction@621bdbb4'. Building will abort...
java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.stash.StashRepository is not supported
at org.jfrog.bamboo.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:72)
at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.<init>(AbstractReleaseProvider.java:46)
at org.jfrog.bamboo.release.provider.MavenReleaseProvider.<init>(MavenReleaseProvider.java:31)
at org.jfrog.bamboo.release.provider.AbstractReleaseProvider.createReleaseProvider(AbstractReleaseProvider.java:60)
at org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction.call(ArtifactoryPreBuildAction.java:63)
at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.runPreBuildActions(PrepareBuildTask.java:129)
at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
at java.lang.Thread.run(Thread.java:745)

Is Stash repository supported for this action?

bamboo version 5.5.0 build 4304

1 answer

This is actually not an Atlassian issue, but a JFrog issue.  You can find the issue here:

https://www.jfrog.com/jira/browse/BAP-206

I'd suggest that you watch and vote for that issue so it will get fixed in the Artifactory Bamboo Plugin

FYI - this appears to be fixed in the latest version of the Artifactory Plugin 1.7.5

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

169 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you