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
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

419 views 0 8
Read article

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