build.xml not found in bamboo

HI, I have a problem, I have defined a task in bamboo using ant, my problem comes when I launch this task I always get error build.xml.

19-jun-2012 19:35:42	Starting task 'compile' of type 'com.atlassian.bamboo.plugins.ant:task.builder.ant'
19-jun-2012 19:35:42	
Beginning to execute external process for build 'manager - manager - compile'
 ... running command line: 
/usr/share/ant/bin/ant
  -Djava.io.tmpdir=/var/tomcat/temp/MNP-MANAGER-CP
  -f
  buid.xml
  -Djava.awt.headless=true
 ... in: /home/bamboohome/xml-data/build-dir/131073/MNP-MANAGER-CP
 ... using extra environment variables: 
JAVA_HOME=/usr/lib/jvm/jdk1.6.0_32
bamboo_ANT_HOME=/usr/share/ant
ANT_HOME=/usr/share/ant
PATH=/usr/lib/jvm/jdk1.6.0_32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/jdk1.6.0_32/bin
19-jun-2012 19:35:43	Buildfile: buid.xml does not exist!
19-jun-2012 19:35:43	Build failed
19-jun-2012 19:35:43	Failing task since return code was 1 while expected 0
19-jun-2012 19:35:43	Finished task 'compile'
19-jun-2012 19:35:43	Running post build plugin 'NCover Results Collector'
19-jun-2012 19:35:43	Running post build plugin 'Clover Results Collector'
19-jun-2012 19:35:43	Running post build plugin 'Artifact Copier'
19-jun-2012 19:35:43	Running post build plugin 'Cleanup Build Processor'
19-jun-2012 19:35:43	Finalising the build...
19-jun-2012 19:35:43	Stopping timer.
19-jun-2012 19:35:43	Build MNP-MANAGER-CP-29 completed.
19-jun-2012 19:35:43	Running on server: post build plugin 'NCover Results Collector'
19-jun-2012 19:35:43	Running on server: post build plugin 'Clover Delta Calculator'
19-jun-2012 19:35:43	Running on server: post build plugin 'Build Hanging Detection Configuration'
19-jun-2012 19:35:43	Running on server: post build plugin 'Maven Dependencies Postprocessor'
19-jun-2012 19:35:43	All post build plugins have finished
19-jun-2012 19:35:43	Generating build results summary...
19-jun-2012 19:35:43	Saving build results to disk...
19-jun-2012 19:35:43	Indexing build results...
19-jun-2012 19:35:43	Finished building MNP-MANAGER-CP-29.

I have followed custom tutorial from web, setting all parameters like in video tutorial,

I am sure build.xml exists, I can run this task with jenkins, so I believe I am doing some wrong.

1 answer

This widget could not be displayed.

I'm going to answer this because I have had an issue with this as well.

It's pretty stupid really but you will need to set up a source checkout task in Job > Add task > Source Control before your Ant task (big duh moment)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

34 views 0 1
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