Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 Data Center - Early Access Program

G’day Bamboo customers, The wait is almost over! We are in the final stages of work on the first release of Bamboo Data Center, our self-managed enterprise offering of Bamboo. This Data Center offe...

987 views 0 16
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