I am new to Bamboo and I would like to run my NUnit tests usng the Bamboo NUnit task. I currently have three tasks in the project plan which consist of the source code checkout first, then followed by an MSBuild Task. When the plan is executed with just these two tasks the build will complete successfully albeit a testless one. When adding a third task (NUnit Runner) and running the plan I get a failure with the following error:
|09-Apr-2014 10:46:27||Error occurred while running Task 'All Tests(4)' of type com.atlassian.bamboo.plugin.dotnet:nunitRunner.|
|09-Apr-2014 10:46:27||java.lang.IllegalArgumentException: NUnit Console Executable not found|
|09-Apr-2014 10:46:27||at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.plugin.dotnet.tests.nunit.NUnitRunnerTaskType.execute(NUnitRunnerTaskType.java:91)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:216)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:181)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:101)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:108)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)|
|09-Apr-2014 10:46:27||at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)|
|09-Apr-2014 10:46:27||at java.lang.Thread.run(Thread.java:662)|
I have also added the capability to the respective elastic image within configuration > capabilities. However i am using a local path to specify the nunit executable which I believe could be incorrect. Could you please advice on how I could configure the NUnit Runner capability and setup the NUnit Task so I am able to run my NUnit tests successfully.
Please see attached image.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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!
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