Hi there,

You wouldn't require sbt.task.plugin. You can directly run SBT from GoCD.
GoCD is tool and language agnostic, as long as you can execute your builds
from the command line, it can be run using GoCD.

On Tue, Apr 2, 2019 at 1:06 PM prasanth s <[email protected]> wrote:

> Getting the below error when running a SBT build pipeline in GoCD
> installed on Windows 10. FYI, both GoCD Server and agent runs on same
> machine. Any pointers are highly appreciated,
>
>
>
> 2019-04-02 15:41:10,853 ERROR [scheduler-1] Builder:116 - Interaction with
> plugin with id 'sbt.task.plugin' implementing 'task' extension failed while
> requesting for 'execute'. Reason: [The plugin sent a response that could
> not be understood by Go. Plugin returned with code '500' and the following
> response: '{"exception":null,"success":false,"message":"Build failure"}']
> java.lang.RuntimeException: Interaction with plugin with id
> 'sbt.task.plugin' implementing 'task' extension failed while requesting for
> 'execute'. Reason: [The plugin sent a response that could not be understood
> by Go. Plugin returned with code '500' and the following response:
> '{"exception":null,"success":false,"message":"Build failure"}']
> at
> com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:57)
> at
> com.thoughtworks.go.plugin.access.pluggabletask.JsonBasedTaskExecutor.execute(JsonBasedTaskExecutor.java:42)
> at
> com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder.executeTask(PluggableTaskBuilder.java:89)
> at
> com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder.lambda$build$0(PluggableTaskBuilder.java:68)
> at
> com.thoughtworks.go.plugin.access.pluggabletask.TaskExtension.execute(TaskExtension.java:59)
> at
> com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder.build(PluggableTaskBuilder.java:68)
> at com.thoughtworks.go.remote.work.Builders.build(Builders.java:74)
> at com.thoughtworks.go.remote.work.BuildWork.execute(BuildWork.java:209)
> at com.thoughtworks.go.remote.work.BuildWork.buildJob(BuildWork.java:181)
> at com.thoughtworks.go.remote.work.BuildWork.build(BuildWork.java:129)
> at com.thoughtworks.go.remote.work.BuildWork.doWork(BuildWork.java:79)
> at com.thoughtworks.go.agent.JobRunner.run(JobRunner.java:54)
> at
> com.thoughtworks.go.agent.AgentHTTPClientController.retrieveWork(AgentHTTPClientController.java:144)
> at com.thoughtworks.go.agent.AgentHTTPClientController.work
> (AgentHTTPClientController.java:116)
> at com.thoughtworks.go.agent.AgentController.loop(AgentController.java:85)
> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
> at
> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown
> Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: The plugin sent a response that
> could not be understood by Go. Plugin returned with code '500' and the
> following response: '{"exception":null,"success":false,"message":"Build
> failure"}'
> at
> com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:55)
> ... 26 common frames omitted
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to