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

Bamboo won't run my test exe Edited

Hi,
I have a cppUnit test-executable.
In my build plan I tried "command" and "script" tasks, but it refuses to run.

I get :  

Failing task since return code of [C:\Windows\System32\cmd.exe /c lcvserver\Debug\LCVServerTest.exe] was -1073741515 while expected 0

When I run the same command from the commandline, in the build-folder it executes fine.

I am running bamboo using BambooConsole.bat (so not as service), I start it with "run as administrator". So environment-settings and user are the same  (I think, checked with ''set" and "whoami" in script...)

Ofcourse I googled all there seems to be on the subject, any other tips ?

Kind regards,
Rob

 

1 answer

1 accepted

I figured out it has to do with the fact that I use Visual Leak Detector.
Without that, it runs.
So I guess it can't find VLD's dll.
It is not in the PATH when running from bamboo. (Why not?)

Fixed it by adding in script:
PATH=%PATH%;C:\Program Files (x86)\Visual Leak Detector\bin\Win32;C:\Program Files (x86)\Visual Leak Detector\bin\Win64;


 

Suggest an answer

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

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

450 views 5 7
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