SBT task fails after successful build ends

builder.sbt.target is "clean package-war"

This is my log:

22-Jul-2013 11:52:46	[info] Done packaging.
22-Jul-2013 11:52:46	[success] Total time: 108 s, completed 22-Jul-2013 11:52:46
22-Jul-2013 11:52:46	Error occurred while running Task 'package(2)' of type com.atlassian.bamboo.plugins.sbt:sbt.
22-Jul-2013 11:52:46	com.atlassian.bamboo.task.TaskException: Failed to execute task
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.plugins.sbt.task.SbtBuildTask.execute(SbtBuildTask.java:102)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:208)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107)
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
22-Jul-2013 11:52:46	        at java.lang.Thread.run(Thread.java:724)
22-Jul-2013 11:52:46	Caused by: java.lang.IncompatibleClassChangeError: Found interface com.atlassian.utils.process.ExternalProcess, but class was expected
22-Jul-2013 11:52:46	        at com.atlassian.bamboo.plugins.sbt.task.SbtBuildTask.execute(SbtBuildTask.java:80)
22-Jul-2013 11:52:46	        ... 8 more
22-Jul-2013 11:52:46	Running post build plugin 'NCover Results Collector'
22-Jul-2013 11:52:46	Running post build plugin 'Clover Results Collector'
22-Jul-2013 11:52:46	Running post build plugin 'Artifact Copier'
22-Jul-2013 11:52:46	Publishing an artifact: war
22-Jul-2013 11:52:46	Finished publishing of artifact Job artifact: [war], pattern: [2.10-0.1.war] anchored at: [target/scala-2.10] in 0s

5 answers

1 accepted

This widget could not be displayed.

Running into the same issue. Versions are same as yours but on CentOS 6.4.

Target is: clean compile stage

build	08-Aug-2013 10:10:29	[0m[[0minfo[0m] [0mYour application is ready to be run in place: target/start[0m
build	08-Aug-2013 10:10:29	[0m[[0minfo[0m] [0m[0m
build	08-Aug-2013 10:10:29	[0m[[32msuccess[0m] [0mTotal time: 18 s, completed Aug 8, 2013 10:10:29 AM[0m
error	08-Aug-2013 10:10:29	Error occurred while running Task 'Build Play! app(2)' of type com.atlassian.bamboo.plugins.sbt:sbt.
error	08-Aug-2013 10:10:29	com.atlassian.bamboo.task.TaskException: Failed to execute task
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.plugins.sbt.task.SbtBuildTask.execute(SbtBuildTask.java:102)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:216)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:107)
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
error	08-Aug-2013 10:10:29		at java.lang.Thread.run(Thread.java:722)
error	08-Aug-2013 10:10:29	Caused by: java.lang.IncompatibleClassChangeError: Found interface com.atlassian.utils.process.ExternalProcess, but class was expected
error	08-Aug-2013 10:10:29		at com.atlassian.bamboo.plugins.sbt.task.SbtBuildTask.execute(SbtBuildTask.java:80)
error	08-Aug-2013 10:10:29		... 8 more
simple	08-Aug-2013 10:10:29	Running post build plugin 'NCover Results Collector'
simple	08-Aug-2013 10:10:29	Running post build plugin 'Clover Results Collector'
simple	08-Aug-2013 10:10:29	Running post build plugin 'Artifact Copier'
simple	08-Aug-2013 10:10:29	Finalising the build...
simple	08-Aug-2013 10:10:29	Stopping timer.
simple	08-Aug-2013 10:10:29	Build TRAN-DEV-JOB1-13 completed.
simple	08-Aug-2013 10:10:29	Running on server: post build plugin 'NCover Results Collector'
simple	08-Aug-2013 10:10:29	Running on server: post build plugin 'Clover Delta Calculator'
simple	08-Aug-2013 10:10:29	Running on server: post build plugin 'Build Hanging Detection Configuration'
simple	08-Aug-2013 10:10:29	Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple	08-Aug-2013 10:10:29	All post build plugins have finished
simple	08-Aug-2013 10:10:29	Generating build results summary...
simple	08-Aug-2013 10:10:29	Saving build results to disk...
simple	08-Aug-2013 10:10:29	Indexing build results...
simple	08-Aug-2013 10:10:29	Finished building TRAN-DEV-JOB1-13.

Thanks to Justin Montgomery for pointing that issue out.

"The SBT plugin apparently broke after the Bamboo 4.4.3 release. Atlassian has created a ticket to track it: https://jira.atlassian.com/browse/BAM-13592"

If you are suffering from this please go vote.

Luckily I can install sbt on the bamboo box and use a command task to do this.

This widget could not be displayed.

Bamboo 5.0 & Atlassian Bamboo SBT Task Plugin 4.0
SBT 0.12.4
Ubuntu 13.04

This widget could not be displayed.

There is an error in the bamboo result summary:

No failed tests found, a possible compilation error occurred.

I have the "The build will produce test results." checkbox unchecked in the sbt task and the plan is showing as testless.

This widget could not be displayed.

The SBT plugin apparently broke after the Bamboo 4.4.3 release. Atlassian has created a ticket to track it: https://jira.atlassian.com/browse/BAM-13592

This widget could not be displayed.

The SBT plugin apparently broke after the Bamboo 4.4.3 release. Atlassian has created a ticket to track it: https://jira.atlassian.com/browse/BAM-13592

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

121 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you