StashRepository is not supported when using Bamboo Artifactory Plugin

J Huang May 7, 2014

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

0 votes
Daniel Hopper September 18, 2014

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

Daniel Hopper November 20, 2014

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
TAGS
AUG Leaders

Atlassian Community Events