-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Same as JENKINS-35083 for pipelines.
The code to fix should be straight forward to address.
Update BitbucketBuildStatusNotifierStep.java
add a new variable for the override Latest Build.
private boolean overrideLatestBuild; public boolean isOverrideLatestBuild() { return this.overrideLatestBuild; } @DataBoundSetter public void setOverrideLatestBuild(boolean overrideLatestBuild) { this.overrideLatestBuild = overrideLatestBuild; }
then in the run method
reference isOverideLatestBuild instead of passing in false
BitbucketBuildStatusHelper.notifyBuildStatus(step.getCredentials(build), step.isOverideLatestBuild(), build, taskListener, buildStatus);