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

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 Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

50 views 2 2
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