Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,560
Community Members
 
Community Events
165
Community Groups

Build fails with "No failed test found. A possible compilation error occured" on script task

Edited

Just trying to move to Bamboo from TeamCity.  This is my first small task.

I use a Script Task to compile my GoogleTest C++ code which has some intentional code that causes warnings in the compile (think passing null pointers to test how it is handled).

All my tests pass, but the overall build fails due to the compilation warnings stated above.

My question is if there is anyway to have bamboo ignore these warnings? I do not want to turn off the warnings in my compile as this could cloak problems in non-test code.

If it makes a difference, my build agent is running on a RHEL7 virtual machine.

1 answer

1 accepted

0 votes
Answer accepted

Never mind.  The build was failing due to an artifact not being created with the proper name.  Was at the end of the log and I was fixated on compile warnings.

Hi Michael Moore,

We are getting this kind of error "No failed test found. A possible compilation error occurred." in Bamboo build logs...?

Why bamboo is not properly parse the build logs..?

Hey,

It has been a long time, but we had misspelled an artifact (product RPM) and it wasn't finding the one it was looking for so tests didn't run.

I'm afraid I don't remember anything more specific.

 

Mike

Like nithyananthaml@hcl.com likes this

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

943 views 3 8
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