Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-211

Release Management doesn't support StashRepository type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.5
    • Labels:
      None

      Description

      If you try and use the new StashRepository type in Bamboo 5.5.x the release management will fail completely with the following exception:

      DSA-TF-JOB1-2 : Exception occurred while executing custom pre-build action 'org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction@2eb516c'. 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:724)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                liorha Lior Hasson (Inactive)
                Reporter:
                daniel.hopper@adp.com Daniel Hopper
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: