Bamboo Testless script

Hi All,

I am new to bamboo. I want to know when it will give me the build pass and build failed notifiacation.

Till date what i have done is:

I have installed bamboo on my local machine and integrated it with SVN.I did checked in code in my svn server. code is just an hello world example in java.

when i check in the code it triggers a build and the result always is builed failed.

can any build please tell me what i will have to do see builed passes :)

-Pankaj

2 answers

1 accepted

0 votes

Which version of Bamboo is it?

I think the problem is that you have no Tasks defined except for the checkout. Go to the Job configuration as described above, click Add Task and use one of the tasks there.

For a start, you can define a Script Task that will just 'exit 0' or run javac on your program or whatever you want really :-)

0 votes

I think you need to uncheck 'This build will produce test results' in your Ant/Maven Task configuration.

Thaks for you reply,

kindly tell me where can i locate this option?Because i am unable to see this option any where i am using bamboo 3.3

-pankaj

In plan view, click 'default job', select 'Configure Job' from the menu, go to the Tasks tab, click on the Ant/Maven task (whichever you use)

If that doesn't help please post the build log.

i have not added this in my task, ant/Maven is not even installed on my machine

do i need to add it to my task and then uncheck it?

simple29-Nov-2011 14:24:52Running on server: post build plugin 'Build Hanging Detection Configuration'

simple29-Nov-2011 14:24:52Running on server: post build plugin 'Maven Dependencies Postprocessor'

simple29-Nov-2011 14:24:52All post build plugins have finished

simple29-Nov-2011 14:24:52Generating build results summary...

simple29-Nov-2011 14:24:52Saving build results to disk...

simple29-Nov-2011 14:24:52Indexing build results...

simple29-Nov-2011 14:24:52Finished building TESTING-DB-JOB1-9.

No, I've just assumed you use one of those. Please post your build log.

simple29-Nov-2011 14:24:50Build TESTING-DB-JOB1-9 started building on agent Default Agent

simple29-Nov-2011 14:24:50Build working directory is D:\xml-data\build-dir\TESTING-DB-JOB1

simple29-Nov-2011 14:24:50Executing build TESTING-DB-JOB1-9

simple29-Nov-2011 14:24:50Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'

simple29-Nov-2011 14:24:50Running preRetrieveSourceCode task...

simple29-Nov-2011 14:24:50Updating source code to revision: 7

simple29-Nov-2011 14:24:50Existing workspace found at 'D:\xml-data\build-dir\TESTING-DB-JOB1'. updating...

simple29-Nov-2011 14:24:52Updated source code to revision: 7

simple29-Nov-2011 14:24:52Running postRetrieveSourceCode task...

simple29-Nov-2011 14:24:52Finished task 'Checkout Default Repository'

simple29-Nov-2011 14:24:52Running pre-build action: Build Number Stamper

simple29-Nov-2011 14:24:52Running pre-build action: Clover Grails PreBuild Action

simple29-Nov-2011 14:24:52Running pre-build action: VCS Version Collector

simple29-Nov-2011 14:24:52Running pre-build action: Repository Isolation Enabler Action

simple29-Nov-2011 14:24:52Running pre-build action: Maven Settings Prebuild Action

simple29-Nov-2011 14:24:52Running post build plugin 'NCover Results Collector'

simple29-Nov-2011 14:24:52Running post build plugin 'Clover Results Collector'

simple29-Nov-2011 14:24:52Running post build plugin 'Artifact Copier'

simple29-Nov-2011 14:24:52Running post build plugin 'Cleanup Build Processor'

simple29-Nov-2011 14:24:52Finalising the build...

simple29-Nov-2011 14:24:52Stopping timer.

simple29-Nov-2011 14:24:52Build TESTING-DB-JOB1-9 completed.

simple29-Nov-2011 14:24:52Running on server: post build plugin 'NCover Results Collector'

simple29-Nov-2011 14:24:52Running on server: post build plugin 'Clover Delta Calculator'

Hi,

Thank you so much!!!

its working!!

cheers :-)

have a nice day ahead!!!

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,069 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot