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
4 answers

Authentication Failed on SourceTree while cloning BitBucket project

I am trying to clone a project from my bitbucket to my computer, using SourceTree. I tried to do so from the web interface : But it always failed. Here is the details of the error. Can you help me please ?
Tofuw
  • 908
  • 5
  • 16
  • 35
0
votes
1 answer

How to reject a pull request if target branch wasn't merged with source before hand?

I have a release branch say release/steamboat. We have many feature branches (say feature/ui, feature/engine). Lets say I want to auto-fail a pull request when it is created from feature/XX to release/steamboat if the requester didn't merge…
videoguy
  • 1,732
  • 2
  • 24
  • 49
0
votes
1 answer

How do i add annotated tag to stash as part of TeamCity Build?

We have migrated from SVN recently. We are using Git Stash for source control and Team City for continuous integration, we are also using source tree with Git flow. We are using MSBuild to build TeamCity. Is there any way I can apply annotated tag…
Rajnikant
  • 2,176
  • 24
  • 23
0
votes
2 answers

need to implement Git backup mechanism?

I have unique situation. where i have around 30 repositories in one git server and every day development is going on. For better disaster management, i want to take backup of 30 repositories every day and thinking to push every day changes to new…
Anil Kumar
  • 516
  • 2
  • 6
  • 16
0
votes
0 answers

rename remote git branch when file name is too long

I have a remote branch (hosted in bitbucket) that displays a git error saying file name too long. error: unable to resolve reference that_really_long_branch_name: File name too long When I try to check it out to rename it I get a message similar…
d-coded
  • 413
  • 3
  • 9
0
votes
1 answer

Stash - Add user permission to Stash using REST API

I'm trying to add a few users and also set their permissions with a provided JSON, but it's not working. This command is working fine, but i want to add multiple users with JSON: curl -u admin:admin -H "Accept: application/json" -H "Content-Type:…
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66
0
votes
1 answer

Add own hook to stash

I am try to develop my own stash hook. Is there any tip, How I can add my own hook to the stash? I have found only function to load it from marketplace, but I want to add it from my computer, is there any possibilities?
busylee
  • 2,540
  • 1
  • 16
  • 35
0
votes
1 answer

Subversion pre-commit error message isn't shown in stash bitbucket svn mirror tool

Our main repository system is on a subversion server. In the near future we want to move to git. Our developers want to use the functionalities and features of git, but they have to do their commits in subversion. For this we implemented a stash…
0
votes
0 answers

Git / Stash Pull Request overwriting newer changes

We are tyring to use GitFlow along with Stash but have come across a problem where a pull request wants to overrwite newer changes!? I have a git repo that has 4 images in it along with some code. After initial commit and setup, master and develop…
0
votes
1 answer

How to get list of file names inside a specific folder in stash repository using stash rest API in Java

I have a project in stash repository(master).That master can have many branches.I have a folder hierarchy in master like src/test.Inside that folder contains files.(test.xml,test2.xml).Is there any way to get list of raw file names using Stash REST…
gihan-maduranga
  • 4,381
  • 5
  • 41
  • 74
0
votes
1 answer

Push tag to Stash for successfull build in Jenkins fails with code 128 and error "Insufficient permissions"

I want to push tag for code revision for every successful build from Jenkins CI. How my job looks I have "Source Code Management" setup to use git in form 1.1 Repository URL : ssh://git@:7999//.git 1.2 Credentials : my ssh name / my ssh key 1.2.1 I…
zubactik
  • 1,297
  • 3
  • 19
  • 34
0
votes
2 answers

How to use Stash REST API with SSH authentication?

I'm trying to use the Stash REST API. We use SSH to authenticate. curl -X GET -u me@example.com: --key ~/.ssh/id_rsa \ 'https://stash.corp.netflix.com/rest/api/1.0/projects/MY_PROJ/repos/MY_REPO/commits' is…
Noel Yap
  • 18,822
  • 21
  • 92
  • 144
0
votes
0 answers

How to use git on huge repo (>10g without submodule) efficiently?

My organization ( a private banking company ) use git to track sql scripts and some binary files. They use stash server from Atlassin, and I access the server with a 4g usb modem via vpn,so the internet connection is slow. I'm not sure how big the…
Shuman
  • 3,914
  • 8
  • 42
  • 65
0
votes
0 answers

Git throws 400 Bad Request when executed with sudo

There is a weird error that we have been getting. I have compiled git 2.5.1 from source on Centos 6.5 where I also have Atlassian Stash running for the control and pushed the code into a repo. When I try to fetch or pull from the repo as a regular…
fcukinyahoo
  • 313
  • 1
  • 5
  • 16
0
votes
1 answer

Restrict commit in git stash by allowing few users to commit to Master

Currently we have TFS and use this feature of only allowing certain users to checkin after review and testing. Our company is adopting devops model and moving towards Atlassian STASH and this tool doesn't have this feature readily available. Anyone…
irfan
  • 1