Questions tagged [bcbsn]

Use this tag if a question is related to Bitbucket Cloud Build Status Notifier (BCBSN)

23 questions
14
votes
4 answers

How can I get Jenkins builds to report failures back to Bitbucket server?

My work is running Jenkins and Bitbucket Server (so instead of the bitbucket cloud, they host their own bitbucket version). I am used to having passing/failing builds on github and bitbucket cloud immediately reporting back on PRs and branches as…
Kzqai
  • 22,588
  • 25
  • 105
  • 137
9
votes
5 answers

Notify build status from Jenkins to Bitbucket Server

We have installed Jenkins v2.7.3 and Bitbucket Server v4.9.1 on premise and would like to send build status as notifications from Jenkins to Bitbucket Server. So far I have only found solutions (1 and 2) for Bitbucket Cloud, but nothing for…
Ismar Slomic
  • 5,315
  • 6
  • 44
  • 63
7
votes
1 answer

Multi branch pipeline with bitbucket build status notifier plugin in jenkins

I have a multi branch pipeline job in my jenkins server and I tried to notify the build status using bitbucket cloud build status notifier plugin. I configured the settings provided in notifier plugin and added the notifier script function in the…
Yahwe Raj
  • 1,947
  • 5
  • 25
  • 37
4
votes
2 answers

"java.lang.Exception: None or multiple repos" with BitBucket Notifier in Jenkins multi-branch pipeline

I have a multi-branch declarative pipeline on Jenkins, which gets triggered by repo events from my Bitbucket cloud account and I'd like it to report the result back to Bitbucket. My Jenkinsfile looks as follows: pipeline { agent any stages…
ohaleck
  • 661
  • 4
  • 20
4
votes
1 answer

bitbucket-build-status-notifier-plugin using credentials with pipeline

I have been trying to get Jenkins' "Bitbucket Build Status Notifier" plugin to notify Bitbucket whether the Maven build after a commit was successful or not. The documentation available very nicely explains how to create credentials and add them to…
3
votes
1 answer

Jenkins sending notifications to the wrong commit id

I have several Jenkins pipelines, all importing a shared library from Bitbucket for some utility methods, and I want to send build status notifications to each project's own Bitbucket repo. I installed the Bitbucket build status notifier plugin, but…
Raibaz
  • 9,280
  • 10
  • 44
  • 65
3
votes
0 answers

Jenkins Pipeline - Global Shared Library git ref overrides the project repo git info

My organization has been using Jenkins 2.0 and Pipelines for several months. We've reached a critical point where we need a global library to consolidate functionality and reduce configuration drift of our Jenkinsfiles and scripts. I created a git…
3
votes
2 answers

bitbucket-build-status-notifier plugin for jenkins reports wrong status

Jenkins should notify bitbucket if a job that is linked to a branch has passed or falied, and it does: But for some reason, in the branch view, it doesn't notify about the result of the last build, and says it failed even if the last build has…
omer mazig
  • 965
  • 2
  • 10
  • 17
2
votes
1 answer

Is there a Jenkins pipeline equivalent of "Only show latest build status"?

We're in the process of migrating to Jenkins pipeline. We use Jenkins to update the build status of our branches/PRs in Bitbucket. One of our merge checks in Bitbucket is "Check the last commit for at least 1 successful build and no failed builds".…
Ben Green
  • 3,953
  • 3
  • 29
  • 49
2
votes
1 answer

Jenkins Bitbucket Build Status Notifier Plugin not showing

I have a problem where the build status from my jenkins server is not showing in Bitbucket. I have followed every step here: Bitbucket Cloud Build Status Notifier Plugin and I have also added the Bitbucket Oauth plugin. The system log looks like…
D.Soderberg
  • 910
  • 5
  • 11
2
votes
1 answer

Chef Cookbooks: Installing Jenkins plugins from GItHub

I am using Chef to deploy my Jenkins instance. I am currently using the Jenkins cookbook found in the Chef Supermarket: https://supermarket.chef.io/cookbooks/jenkins . I'm managing my plugins by adding them to the _master_war.rb recipe file. Most…
J0991
  • 977
  • 2
  • 9
  • 16
2
votes
1 answer

Setting Jenkins to email a build notification to the BitBucket user who pushed a branch

A project repository has been successfully connected to a Jenkins server using the BitBucket plugin, and a project set up such that: Each push to a branch in BitBucket will trigger a webhook sent to the Jenkins server When the Jenkins server…
M1ke
  • 6,166
  • 4
  • 32
  • 50
1
vote
0 answers

Stash Notifier - Post build comment

I have a jenkins upstream DSL job A. It has a Stash Notifier which notifies back to Bitbucket (including post build comments). Once this job A is success, it notifies the stash (either success or failure) and on success ,it then triggers a…
Siddarth
  • 351
  • 2
  • 6
  • 20
1
vote
1 answer

bitbucketStatusNotify ** Build on the bitbucket never finishes even after Jenkins job finishes

I have configured webhooks in Bitbucket to capture PR "create"/"update" events and perform builds on Jenkins to provide build statuses in Bitbucket. After running the build successfully in Jenkins(I get a blue bubble) it notifies Bitbucket about the…
Smruti Mandal
  • 355
  • 1
  • 2
  • 20
1
vote
0 answers

Jenkins CI E2E test process failing with code 127, then 199 (or 135)

Initial disclaimer - I'm very new to Jenkins so I don't really get much about it yet. Baby steps would be appreciated very muchly. I'm in the process of trying to set up a Jenkins job to run through a series of end to end tests I've written for my…
Olly John
  • 366
  • 5
  • 20
1
2