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

ArtifactoryPreBuildAction throws UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.hg.BitbucketRepository is not supported

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1
    • Environment:

      Atlassian Bamboo version 3.2.2

      Description

      We cannot use the bamboo plugin in our bitbucket plans, the ArtifactoryPreBuildAction aborts the plan :

      simple	26-Jul-2011 14:28:11	Build abc started building on agent def
      simple	26-Jul-2011 14:28:11	Build always requires a clean checkout
      simple	26-Jul-2011 14:28:11	Cleaning build directory 'xxx'
      simple	26-Jul-2011 14:28:11	Updating source code to revision: xxx
      simple	26-Jul-2011 14:28:12	Obtaining remote repository to agent's cache directory 'bla'...
      simple	26-Jul-2011 14:28:12	Creating empty repository in directory 'def'
      simple	26-Jul-2011 14:28:12	Pulling from repository `repo' to directory 'directory'
      simple	26-Jul-2011 14:28:28	pulling from https://***
      simple	26-Jul-2011 14:28:28	adding changesets
      simple	26-Jul-2011 14:28:28	adding manifests
      simple	26-Jul-2011 14:28:28	adding file changes
      simple	26-Jul-2011 14:28:28	added 123 changesets with 123 changes to 123 files
      simple	26-Jul-2011 14:28:28	(run 'hg update' to get a working copy)
      simple	26-Jul-2011 14:28:28	Copying repository from cache directory to source directory...
      simple	26-Jul-2011 14:28:28	Cloning repository `xxx' to directory 'yyy'
      simple	26-Jul-2011 14:28:30	123 files updated, 0 files merged, 0 files removed, 0 files unresolved
      simple	26-Jul-2011 14:28:31	Updated source code to revision: xxx
      simple	26-Jul-2011 14:28:31	Executing build abc
      simple	26-Jul-2011 14:28:31	Running pre-build action: Build Number Stamper
      simple	26-Jul-2011 14:28:31	Running pre-build action: Artifactory Release Staging
      simple	26-Jul-2011 14:28:31	Exception occurred while executing custom pre-build action 'org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction@28ce41cc'. Building will abort... : java.lang.UnsupportedOperationException: Scm of type: com.atlassian.bamboo.plugins.hg.BitbucketRepository is not supported
      simple	26-Jul-2011 14:28:31	Running pre-build action: VCS Version Collector
      simple	26-Jul-2011 14:28:31	Running pre-build action: Clover Grails PreBuild Action
      simple	26-Jul-2011 14:28:31	Running pre-build action: Repository Isolation Enabler Action
      simple	26-Jul-2011 14:28:31	Running pre-build action: Maven Settings Prebuild Action
      error	26-Jul-2011 14:28:31	1 error(s) found when performing pre-build actions. 
      simple	26-Jul-2011 14:29:53	Running on server: post build plugin 'NCover Results Collector'
      simple	26-Jul-2011 14:29:53	Running on server: post build plugin 'Clover Delta Calculator'
      simple	26-Jul-2011 14:29:53	Running on server: post build plugin 'Build Hanging Detection Configuration'
      simple	26-Jul-2011 14:29:53	All post build plugins have finished
      simple	26-Jul-2011 14:29:53	Generating build results summary...
      simple	26-Jul-2011 14:29:53	Saving build results to disk...
      simple	26-Jul-2011 14:29:53	Indexing build results...
      simple	26-Jul-2011 14:29:53	Finished building bla.

      Don't know how you handle the priorities, but for us, its a Blocker

        Attachments

          Activity

            People

            • Assignee:
              noam.tenne Noam Y. Tenne (Inactive)
              Reporter:
              max.friedmann Max Friedmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: