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
0
votes
2 answers

How can I detect if a GIT server is active?

Server: Atlassian Bitbucket v4.14.3 (aka Stash) Client: git version 2.17.1 (on Linux Ubuntu 18LTS) What is the best way to detect whether the GIT server is alive and providing service? Use case1: On a daily basis, the Bitbucket server goes down to…
freeAR
  • 943
  • 3
  • 18
  • 32
0
votes
0 answers

git clone --depth using https and bitbucket?

I would like to be able to run git clone --depth 1 https://bitbucket_server_address/.../myRepo.git I am able to run previous command with ssh protocol and with https without --depth. With https and --depth I get: error: RPC failed; HTTP 500 curl…
telebog
  • 1,706
  • 5
  • 25
  • 34
0
votes
0 answers

How to enable git protocol in bitbucket?

I would like to do git archive or git clone using git protocol not ssh or https. How can I do that with bitbucket?
telebog
  • 1,706
  • 5
  • 25
  • 34
0
votes
0 answers

Bitbucket server rest integration

I want to use an on prem bitbucket server using the bitbucket rest api from an application to create, update, and manage projects, repositories, teams etc while taking the parameters from my UI. And create we hooks from my java application. Can…
Saketh Ram
  • 53
  • 5
0
votes
1 answer

How to restrict merge permission for the author of the pull request on BitBucket

My team wants to restrict merge permissions to only the reviewers. Once a pull request is approved, only the default approvers must be given an option to merge the code. Currently, the author of the pull request also has the permission to merge the…
0
votes
1 answer

Open file limit on Ubuntu server

My Java Tomcat application (Bitbucket) is hosted on Ubuntu 16.04 and i will get below error when Open file limit exceeds. java.io.IOException: Too many open file i fixed the issue initially with adding below lines to …
rgh
  • 40
  • 2
  • 11
0
votes
1 answer

How to get ip address of PC on which installed personal bitbucket server with repository?

I have a java project on Bitbucket: https://bitbucket.org/myProjectName/myRepositoryName/src/master/ This is links to clone my project: git clone git@bitbucket.org:myProjectName/MyRepositoryName.git git clone…
yozhik
  • 4,644
  • 14
  • 65
  • 98
0
votes
0 answers

What is best practice for storing local repo managed by Bitbucket Server?

We have Bitbucket to Manage our source for Version control and Access control. My problem is the folder where all the source files are is just sitting on the 'C' drive. Is there a better/ more secure way to do this? Basically I don't want to make…
Cureck
  • 1
  • 1
0
votes
1 answer

Branch exists but cannot be seen in refs/heads

In a bare repository (no working folder) on a BitBucket Server machine, I have two release branches: # git branch --list | grep release warning: ignoring broken ref refs/heads/integration/Team release/2018r1 release/2018r2 But if I look in…
PortMan
  • 4,205
  • 9
  • 35
  • 61
0
votes
1 answer

Bitbucket file change logs

Is it possible to get file change logs /commits list or latest commit at particular branch at specified file path? I tried using /commits/?path={filepath}&until={branch -name}.then extracted first element of json to get latest commit. But some data…
0
votes
1 answer

Bitbucket server - hide audit log

is there a way to hide the Audit Log menu item in a Bitbucket Server(5.13.0 - Data Center edition) from the project and repository settings? Thanks, Balázs
bayerb
  • 649
  • 2
  • 9
  • 28
0
votes
1 answer

Git LFS , is it advisable to enable Git LFS in Bitbucket DataCenter Version

I am using Atlassian Bitbucket Server , please share your thought / Guide on how you are using Git LFS in production environment. We have integration with SAML for authentication. Has any one using GitHub LFS features. How is it in terms of…
rgh
  • 40
  • 2
  • 11
0
votes
1 answer

How to find sonar target branch for a feature branch in Jenkins pipeline job

I have git repository on bitbucket server. Also have a Jenkins pipeline job that is pointed to that repository. From the pipeline it is possible to identify if a branch is a topic branch or a long-lived branch (I have specified a pattern for long…
Gayan Viranka
  • 443
  • 1
  • 6
  • 17
0
votes
1 answer

Bitbucket custom pre-receive hook for preventing unknown users to commit

Currently due to collaboration across different vendors and contractors sometimes they use a malformed git config at the client side when checking in code Once the code is checked in, bitbucket does not reconcile the correct username against the…
sudhakar
  • 33
  • 1
  • 6
0
votes
2 answers

I want to get commits on a branch in bitbucket stash via rest api

I am trying to get commits on a particular branch in bitbucket stash. Branch was initially branched from master to develop some features after feature code was committed it was merged back to master But the branch was not deleted, so I want to use…
jamuna
  • 93
  • 1
  • 2
  • 10