wolfeidau / rake-bamboo-plugin

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

bamboo 5.7.0 compatibilty #85

Closed laiskajoonas closed 9 years ago

laiskajoonas commented 9 years ago

I'm getting the following error on bamboo 5.7.0. Does anybody have an idea on how this could be fixed and new 5.7.0 compatible plugin be released?


error 20-Nov-2014 14:48:08 Error occurred while running Task 'Install packages(2)' of type au.id.wolfe.bamboo.rake-bamboo-plugin:task.builder.bundler. error 20-Nov-2014 14:48:08 java.lang.NullPointerException: Capability error 20-Nov-2014 14:48:08 at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204) error 20-Nov-2014 14:48:08 at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.getRubyExecutablePath(AbstractRubyTask.java:140) error 20-Nov-2014 14:48:08 at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.buildEnvironment(AbstractRubyTask.java:159) error 20-Nov-2014 14:48:08 at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.execute(AbstractRubyTask.java:73) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:220) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 20-Nov-2014 14:48:08 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 20-Nov-2014 14:48:08 at java.lang.Thread.run(Thread.java:745)

laiskajoonas commented 9 years ago

This was not an issue with the plugin. I just had to save all my rake tasks and it started working.