Questions tagged [bitbucket-server]

Bitbucket Server (formerly known as Atlassian Stash) is a tool for "Git Repository Management for Enterprise Teams"

Bitbucket Server (formerly known as Atlassian Stash) is a tool for "Git Repository Management for Enterprise Teams". It provides many features comparable to GitHub and Bitbucket.

Including:

  • Creating git repos
  • Managing access by individuals and groups
  • Linking JIRA issues to commits
  • Creating and managing pull requests
819 questions
5
votes
1 answer

How to fix ssh authentication error while working with Eclipse and Git

I am using Git, Eclipse and Bitbucket. I am able to commit and push using command line. When I try to push any file from Eclipse I will get error as: ssh://.git: No more authentication methods available Although using Eclipse I am able to…
venus
  • 75
  • 2
  • 6
5
votes
1 answer

Bitbucket server: Send email when pushing a commit that modifies files inside a specific folder

Is there any way to send an email when someone pushes one or more commits that modifies files inside a folder? I have a folder with files that contain generic code that shouldn't be changed in most of the commits. But if someone pushes a change on…
Gaston K
  • 477
  • 1
  • 4
  • 12
5
votes
1 answer

Pull request on bitbucket isn't triggering a build on bamboo

I've been trying to set things up to trigger a build for a pull request. Our setup is as follows: Bamboo 6.5.0 local server Bitbucket 4.11.2 using git, local server The plan repository is linked with the master branch I've got a "Bitbucket Server…
baralong
  • 1,644
  • 1
  • 16
  • 32
5
votes
0 answers

Rest API for bitbucket branch Sync

Need Rest API to Sync branches in Bitbucket (Cloud) without merge pull request. Cannot find in API documentation. Is there any rest API for syncing branches? Please help on above query (high priority).
Atit
  • 125
  • 2
  • 10
5
votes
2 answers

Bitbucket webhook to trigger Jenkins job

I'm having trouble getting my webhook in bitbucket server to start a Jenkins job. I've read through the other answered questions on here and can't get it going. Bitbucket setup: No special plugins installed In repository settings I have a webhook…
Rob Ormond
  • 123
  • 1
  • 9
5
votes
3 answers

How to: [REST] Get and Set Default Reviewers for a repository in Atlassian Stash (Bitbucket Server) programmatically using REST API

So... my current project includes making a script which will configure repositories programmatically on our Stash server (aka BitBucket server). This includes setting the default reviewers for each repository. Is there a REST API for this?
user1942541
  • 297
  • 1
  • 3
  • 13
5
votes
3 answers

Use stash notifier plugin on Jenkins 2.0 multibranch pipeline

I don't know how to setup the stash notifier plugin on a multibranch pipeline. The configuration page does not have a 'Post-build Actions section'.
Tom Deseyn
  • 1,735
  • 3
  • 17
  • 29
5
votes
2 answers

stash Pull Request Builder Plugin

Has any one used stash builder plugin.Its documentation says that it adds some environment variables in to the build environment but if i echo them,they all are empty echo "${sourceBranch}" echo "${targetBranch}" echo…
thinkingmonster
  • 5,063
  • 8
  • 35
  • 57
5
votes
1 answer

ActiveObjects throwing exception when adding setter for array field

I have forked an Atlassian Stash plugin for build server integration, and it uses the ActiveObjects component for storing the data. I'm having the following issue: If I follow the other fields and add a getter and setter for my OneToMany fields like…
wonderb0lt
  • 2,035
  • 1
  • 23
  • 37
5
votes
1 answer

Install R package from Atlassian Stash

I made an R package which is hosted on my employer's instance of Atlassian Stash. I have been telling other users to clone the repo and then use devtools::install("") to install the package. How can I have users install the package…
ClaytonJY
  • 1,244
  • 10
  • 21
5
votes
2 answers

Git pre-merge hooks?

For my repository, I am using Git and Stash. On the Stash end, I have restricted (read only) access to master, so that any user can branch off the master branch for feature/ branches but cannot merge to master directly unless its done via a Pull…
Dexter
  • 1,621
  • 3
  • 18
  • 38
5
votes
2 answers

Gitflow + Forking workflow (on Stash)?

Is it possible to use Gitflow on top of a forking mindset? If so, how would you do things like create a local feature branch, push it to your origin and then pull request it? Would you pull request a branch to make it available to others? I'm…
Mr Mikkél
  • 2,577
  • 4
  • 34
  • 52
4
votes
0 answers

How do I share self hosted BitBucket Windows Pipeline runner across main and fork repositories

I have a main BitBucket repo say project.git. I have a self hosted Windows runner setup to monitor changes to this repo and kick off a build. It has been working great. I forked the repo to say joe.git. I want to test my changes in joe.git before…
4
votes
0 answers

Make BitBucket Server Recognize Readme by Different Name

Using BitBucket Server, when viewing a folder in a repository that contains a README file, the contents of that file are automatically displayed on screen. It seems to automatically detect files names, for instance, "README.txt" or "README.md".…
JMikes
  • 572
  • 4
  • 12
4
votes
1 answer

How we can send some data back to bitbucket server from the Jenkins?

Whenever pr is created on bitbucket We've setup our Jenkins and build is triggered automatically. We can see its status(running/failed/success) in our bitbucket repository. Now we got requirements that whenever build is failed or successfully built…
Tarun
  • 1,192
  • 2
  • 11
  • 20