wolfeidau / rake-bamboo-plugin

Plugin for bamboo which enables building of ruby projects using rake
Other
34 stars 16 forks source link

IncompatibleClassChangeError on Bamboo 5.0-rc1 build 3613 #40

Closed rosskevin closed 11 years ago

rosskevin commented 11 years ago
2013-07-04 17:16:16,360 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [AbstractRubyTask] Using manager RVM runtime ruby-2.0.0-p195@default
2013-07-04 17:16:16,361 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [RubyLocatorServiceFactory] Loaded ruby runtime managers [au.id.wolfe.bamboo.ruby.system.SystemRubyRuntimeLocatorService@3920531f, au.id.wolfe.bamboo.ruby.rbenv.
RbenvRubyRuntimeLocatorService@79313585, au.id.wolfe.bamboo.ruby.rvm.RvmRubyRuntimeLocatorService@db0ecec, au.id.wolfe.bamboo.ruby.windows.WindowsRubyRuntimeLocatorService@5a9280f9] 
2013-07-04 17:16:16,361 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [RvmRubyRuntimeLocatorService] Searching for rvm installation in users home directory located at - /home/apps/.rvm
2013-07-04 17:16:16,362 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [RvmRubyRuntimeLocatorService] Searching for rvm installation in users home directory located at - /home/apps/.rvm
2013-07-04 17:16:16,369 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [RvmRubyRuntimeLocatorService] Searching for rvm installation in users home directory located at - /home/apps/.rvm
2013-07-04 17:16:16,369 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [RvmRubyRuntimeLocatorService] Searching for rvm installation in users home directory located at - /home/apps/.rvm
2013-07-04 17:16:16,375 INFO [7-BAM::Default Agent::Agent:pool-20-thread-1] [DefaultErrorHandler] Recording an error: Error occurred while running Task 'Bundle Dependencies(2)' of type au.id.wolfe.bamboo.rake-bamboo-plugin:task.builder.b
undler. : DIHQ-DEV-JOB1 : Found interface com.atlassian.utils.process.ExternalProcess, but class was expected
2013-07-04 17:16:16,376 ERROR [7-BAM::Default Agent::Agent:pool-20-thread-1] [TaskExecutorImpl] Error occurred while running Task 'Bundle Dependencies(2)' of type au.id.wolfe.bamboo.rake-bamboo-plugin:task.builder.bundler.
java.lang.IncompatibleClassChangeError: Found interface com.atlassian.utils.process.ExternalProcess, but class was expected
        at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.execute(AbstractRubyTask.java:66)
        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:208)
        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
        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:105)
        at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
        at java.lang.Thread.run(Thread.java:724)
wolfeidau commented 11 years ago

Yeah as per #38 the plugin works fine in 5.x but must be recompiled because of internal changes within the bamboo task API.

If you don't want to build it yourself I can post a snapshot I have to try.

Cheers

rosskevin commented 11 years ago

If you post a snapshot, I'll try it. I could compile but I have to dust off my java atlassian plugin skills...

rosskevin commented 11 years ago

Compilation is easier than it used to be with the APDK! The snapshot is running now, like you said, just a recompilation.

https://www.dropbox.com/s/zpobqr5yzf35pv6/rake-bamboo-plugin-1.16-SNAPSHOT.jar

wolfeidau commented 11 years ago

Sorry mate, got snowed under yesterday and didn't have a chance to do a new build.

Great to hear you were able to build it.

Note I will be working with the Atlassian people to release on the day that 5.x goes live so hopefully you shouldn't have any issues on release day.

Thanks