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
11
votes
5 answers

Duplicate builds triggered on Jenkins multibranch pipeline

We are seeing duplicate builds triggered on Jenkins multibranch pipeline projects. Builds are normally triggered using push notifications from Bitbucket using this plugin:…
11
votes
7 answers

How to extract the list of all repositories in Stash or Bitbucket?

I need to extract the list of all repos under all projects in Bitbucket. Is there a REST API for the same? I couldn't find one. I have both on-premise and cloud Bitbucket.
Jeel
  • 2,227
  • 5
  • 23
  • 38
11
votes
3 answers

Why fork syncing is useful?

I noticed that BitBucket Server, formerly Stash, has a feature called "fork syncing", which allows to automatically sync between 2 different repositories. The way I see it is like a mirror repository. What is the usefulness of that feature? Why…
ipinak
  • 5,739
  • 3
  • 23
  • 41
11
votes
4 answers

Multiple commits in pull requests

We have a dev branch and a release branch. Dev branch is where all the developers check-in the code. All builds are taken from the release branch. We're using Stash (Atlassian's Enteprise Git) and wanted to incorporate code reviews using pull…
tempid
  • 7,838
  • 28
  • 71
  • 101
10
votes
3 answers

Cloning Bitbucket server repo with access tokens

I am trying to clone a bitbucket server repo (self-hosted) using access-token however I could not find any documentation on Bitbucket server API. My clone url is ssh based. Or is there a way to use REST API curl command to clone bitbucket server…
10
votes
3 answers

How to copy only single branch from one git repo to another?

I am using the following steps to duplicate all branches to the new-repository. git clone --bare https://github.com/exampleuser/old-repository.git # Make a bare clone of the repository cd old-repository.git git push --mirror…
meallhour
  • 13,921
  • 21
  • 60
  • 117
10
votes
2 answers

Jenkins hangs when trying to fetch from Stash

I am trying to configure Jenkins to work with Atlassian Stash. I have gotten as far as (apparently) getting the Git plugin to successfully ping Stash, as there are no longer any error messages from the Git plugin page. I am using Git with SSH, and…
Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360
10
votes
2 answers

Commit a file to git repository using Stash (bitbucket server) REST API

I am using Atlassian Stash (Bitbucket server) to manage my git repository. Recently I had a requirement to commit a file (a newly created .xml file) to my Git repository using the Stash REST API. I've gone through the documentation, but it seems…
gihan-maduranga
  • 4,381
  • 5
  • 41
  • 74
10
votes
4 answers

Is there any way to Create Pull request to bitbucket git repository using intelliJ IDEA

I have a git repository in bitbucket, is there any way to create a pull request using IntelliJ IDEA instead of doing it through web? I found that this can be done from within IntelliJ for a github repository. But have not found anything similar for…
Supun Induwara
  • 1,594
  • 3
  • 14
  • 22
9
votes
1 answer

Show PR Build status in Bitbucket

We have our build pipeline set up with Team City (version 2017.1.5) and we use on-premise Bitbucket server (version 4.8) for our git repository. Our branching model is GitHub Flow We use mendhak Team City plugin to report build status to Bitbucket…
Ankit Vijay
  • 3,752
  • 4
  • 30
  • 53
9
votes
6 answers

One ssh-key to all repositories in bitbucket

We have a application account in my server for which we have generated a ssh-key. We need to upload the application account public key to all the repositories in my bit-bucket project. There are so many repositories in my project we can't upload the…
9
votes
1 answer

git stash, jenkins pipeline, No git jobs using repository

I'm trying to setup triggering a jenkins multibranch pipeline from Atlassian Stash using the stash webhook to jenkins plugin. My project config has Build Periodically set to @daily, Periodically if not otherwise set to 1 day and I have indexed my…
shmish111
  • 3,697
  • 5
  • 30
  • 52
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
9
votes
1 answer

How to direct git-lfs traffic for multiple remotes to a single endpoint?

I use a workstation to develop and two remotes to store: a local (LAN) git server [origin] and a hosted (e.g. bitbucket/github) git server [cloud] for extra backup. I am currently using git lfs to track png files and my available online storage is…
user2704504
  • 133
  • 6
8
votes
3 answers

Can't Push or Pull in Git

I'm fairly new to using Git, but I do understand the bare basics. However, I have yet to encounter a situation where I have Push/Pull conflicts...until now. Also, I should point out that the GUI tool I'm using to interact with the Git repository is…
CM-Dev
  • 373
  • 1
  • 5
  • 15
1 2
3
54 55