amuniz / bitbucket-branch-source-plugin

5 stars 2 forks source link

Unstable builds are marked as FAILED in Bitbucket #20

Closed papanito closed 5 years ago

papanito commented 5 years ago

Currently unstable builds in Jenkins are marked as failed in Bitbucket and I don't see a way how to configure it differently image

image

There may be reasons why an unstable build still may be considered as "successful" in Bitbucket, even so the Jenkins build is unstable - i.e. you have a threshold set which allows certain tests to be failing but still consider the Jenkins test as not failed. The plugin should respect that. As such builds are considered failed, the code cannot be merged if the merge checks are available.

The best solution would be to have a parameter "[ ] consider UNSTABLE builds as SUCCESS" where you can define the behavior

Environment:

papanito commented 5 years ago

I've filed a bug report in the official Jenkins Jira: https://issues.jenkins-ci.org/browse/JENKINS-54157, so I will close this issue