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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

171 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you