Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

build.xml not found in bamboo

eduard frades June 18, 2012

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

0 votes
dylan_millikin March 19, 2014

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
TAGS
AUG Leaders

Atlassian Community Events