Release 4.1.2-ondemand-rc3 does not work with our builds

Came into work today to find out our Bamboo platform has been updated. Been trying to create and test new builds for our projects and it takes about 20 minutes to check SVN and it doesn't run the targets in our ant build scripts. The job just fails and doesn't create an artifact (jar file). It recognises the targets it needs to run but doesn't execute them. Not sure if this is an ANT issues. Currently we are using 1.7 but it looks like bamboo is using 1.8.

Anyone else having similar issues?

2 answers

This widget could not be displayed.

Is there anything interesting in the build log? Have you tried running the build locally against Ant 1.8?

Please find attached a copy of the build log. It won't work locally due to way it accesses the projects in SVN

these are two lines taken out of the log file where it seems to be failing:

command 16-Jul-2012 10:30:57 Beginning to execute external process for build 'Deployments - Test Console WAR - Common Jar'\n ... running command line: \n/opt/apache-ant-1.7.1/bin/ant\n\n -f\n HOSTPLAT/trunk/com.compliantphones.common/build.xml\n clean\n jar\n ... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/HOSTPLAT-TCW-CCJ\n ... using extra environment variables: \nJAVA_HOME=/opt/jdk-6\nANT_HOME=/opt/apache-ant-1.7.1\nPATH=/opt/jdk-6/bin:/opt/bamboo-elastic-agent/bin:/opt/jdk-6/bin:/opt/maven-2.1/bin:/opt/maven-1.0.2/bin:/opt/ant-1.8/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/opt/aws/amitools/ec2/bin:/opt/aws/apitools/ec2/bin:/home/bamboo/bin\n
simple 16-Jul-2012 10:30:57 Failing task since return code was -1 while expected 0

You can fix this issue by changing the path to ant to /opt/apache-ant-1.8.2 in image capabilities.

Support is working on rolling out a global update for that, so you can also wait a bit and the problem should go away.

This widget could not be displayed.

I raised a ticket with your support team and they investigated and found out the problem related to what you said. Currently just running a build now.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday 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...

207 views 1 3
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