Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Successful pipeline despite exception in test

Christoph Trappe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 11, 2018

The pipelines finishes successful despite an exception in one of the python threads. The expected behavior would be a fail. How can I make the pipeline fail in case of an exception?

1 answer

0 votes
Graham Gatus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2018

Hi @Christoph Trappe

Do you have an example pipeline yaml or link to a repository with a failing example? If any command you run as part of the pipeline fails with a non zero exit code, this should cause the pipeline to fail.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events