Skip to content

Commit 33f5689

Browse files
author
Coen de Meijer
committed
Notifying BitBucket of build failure causes an exception to be thrown.
* Removed the exception throwing
1 parent 4eb776e commit 33f5689

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/org/jenkinsci/plugins/bitbucket/BitbucketBuildStatusNotifierStep.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,6 @@ public Void run() throws Exception {
188188

189189
BitbucketBuildStatusHelper.notifyBuildStatus(step.getCredentials(build), false, build, taskListener, buildStatus);
190190

191-
if(buildState.equals(BitbucketBuildStatus.FAILED)) {
192-
throw new Exception(buildDescription);
193-
}
194-
195191
return null;
196192
}
197193
}

0 commit comments

Comments
 (0)