Skip to content

[New Feature] Build notifications not sent to BitBucket for manually triggered builds #237

@cdelmonte-zg

Description

@cdelmonte-zg

Discussed in #228

Originally posted by banjoh June 29, 2020
At times builds fail due to some flaky environment problem which is inevitable. Such builds may end up being marked as failed or unstable. To resolve this, one might restart the build manually to get the build to pass. Unfortunately the build status does not get updated.

According to https://support.atlassian.com/bitbucket-cloud/docs/integrate-your-build-system-with-bitbucket-cloud/, it does not look like there are any specific environment variables that could be missing for manually triggered builds.

Is there a way to have the plugin handle manually triggered builds for the purpose of build notifications to BB? Currently we have a separate script that does this for us.

Environment

Jenkins: 2.235.1
BPPP: 2.4.0

PS: I can submit a patch if need be, but I'd need some pointers of what needs to be done

Metadata

Metadata

Assignees

Labels

effort: mediumMedium implementation effortenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions