allure-plugin icon indicating copy to clipboard operation
allure-plugin copied to clipboard

Change status of the build depending on a threshold

Open arturmkr opened this issue 4 years ago • 1 comments

Allure Jenkins plugin changes status of the Jenkins build to FAILED, if at least one test is failed. It would be great if Allure changes status of the Jenkins build depending on threshold (how many tests are OK to be failed).

For example, if threshold is 10 and 5 tests are failed - status is SUCCESS. If threshold is 10 and 20 tests are failed - status is FAILED.

@baev , could you please help.

arturmkr avatar Dec 15 '20 16:12 arturmkr

I have the same problem. Some of our tests are unstable now, and I only want to set the stage to UNSTABLE but the build to SUCCESS. This is working well till that point when I integrated the plugin to the pipeline and now the build is FAILED.

image

tyborg avatar Apr 15 '21 11:04 tyborg