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

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

Hello, i have trouble building with bamboo version 5.7.2. 

I suspect the problem is with a path to "Program Files/..." but i cant find the exact place of the error. 

"Could not find test result reports in the C:\company\bamboo-home\xml-data\build-dir\company-company-JOB1 directory.

BUILD FAILED
Target "Files" does not exist in the project "company6 Build". 

Total time: 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8"

 Could it be the -Djava.io.tmpdir that has no citation marks that causes the build to fail?

C:\company\apache-ant-1.9.4\bin\ant.bat -Djava.io.tmpdir=C:\Program Files\Bamboo\temp\company-company-JOB1 -f build.xml

 

1 answer

0 votes
edwin Community Leader Sep 12, 2018

Hi @Erik Boman,

Yes you're correct. The marks around -Djava.io.tmpdir="" is what is causing the error.  

Where can i edit this flag?

edwin Community Leader Sep 12, 2018

You can try changing the path of tmpdir or specifying the same path with double quotes.

<bamboo-agent-home>/conf/wrapper.conf

Adding an additional line. For example:

wrapper.java.additional.3=-Djava.io.tmpdir="E:\temp\"

I do not have a wrapper.conf file, as i understand the setenv.bat file should be the equivalent. Can i set the tmpdir there aswell?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

653 views 1 6
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