How do I have my bamboo plan quit when there is a failure in compiling?

Sally S_ Miller October 19, 2020

I have Bamboo 6.11 and I have a task that is  gmake compile.  If there is a problem, 

it does not quit the plan it just continues to the next task which is to compile the java code and fails all the tests.

I would like it to quit so I don't have to wait the 20mins to see that it did not compile.

This would help keep our bamboo queue cleaner.

1 answer

1 vote
Cristiano Mariano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2020

Hi @Sally S_ Miller ! How are you doing?

Are you using a "Script" task?

We usually check the errorlevel after the compiler call and, in case it is not zero, we call "exit 1".

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events