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
17
votes
3 answers

git clone gets hung and gets timedout

I use Bitbucket(git) server and currently the git clone is randomly getting hung. The same repo sometimes gets cloned and sometimes get hung unexpectedly and then gets timed out. The server memory, CPU utilization, disk space is fine. Please advise…
Jeel
  • 2,227
  • 5
  • 23
  • 38
17
votes
4 answers

Have JIRA send mails to watchers on commit from Stash on a ticket

Our workflow is as follows: Someone opens ticket in JIRA (ABC-123) Developer commits with commit message ("Do the thing, relates to ABC-123") Developer pushes to Stash server Commit will show on JIRA (and when viewed on Stash, ticket will linked to…
Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308
16
votes
1 answer

Modifying pre-receive hooks on Bitbucket Cloud

We have Bitbucket Cloud not Bitbucket Server. Is there a way to modify the "pre-receive" functions on Bitbucket? Goal is to audit pushes to make sure there's no obvious vulnerabilities before the code is available on Bitbucket. Git-hooks might work…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
16
votes
2 answers

Triggering build on Bamboo for pull requests on Stash?

I want to know if it is possible to configure something similar to what is accomplished by Jenkins+Github with the request builder plugin. Specifically, triggering a build on Bamboo when a pull request is created on Stash, using the pull request…
Daniel C. Sobral
  • 295,120
  • 86
  • 501
  • 681
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
14
votes
0 answers

How to access Bitbucket Server bundled elasticsearch via REST API

I need to run a code search report across many projects/repositories hosted on Bitbucket Server. The browser interface is not helpful for this task as it pages the results and requires manual scrolling to load the (many) results. Found a REST API at…
Kim Taylor
  • 348
  • 1
  • 10
14
votes
5 answers

Maven Release-plugin "tag already exists" for nonexistant tag

My setup: git-repository on an Atlassian Stash-server and Atlassian Bamboo. I'm using Maven 3.1.1 with the release-plugin 2.3.2. The plan in Bamboo looks like this: Check out from git-repository perform a clean install perform release:prepare and…
Vince
  • 1,517
  • 2
  • 18
  • 43
13
votes
6 answers

Extension for Visual studio unknown error - unable to push or fetch anything

I have an error when I try to push anything to my bitbucket repository via Git extension for visual studio: Error encountered while pushing branch to the remote repository: Git failed with a fatal error. HttpRequestException encountered. An error…
User987
  • 3,663
  • 15
  • 54
  • 115
13
votes
2 answers

Get raw file content using Stash Rest API

I am able to get raw file content using the Bitbucket REST API, as https://api.bitbucket.org/1.0/repositories/AccountName/Repo_Slug/raw/master/MyFolder/MyFile.cs, Is there a equivalent to get it from Stash using Stash Rest API. I couldn't find it…
parsh
  • 746
  • 1
  • 10
  • 23
12
votes
1 answer

Get pull request subject/topic automatically

I am interested in creating automated release notes based on the Pull Request description, such as "Add legal resolutions claim report function" shown on the screen below. However, I am not very experienced with Pull Requests, and I am not sure if…
12
votes
2 answers

How to create a database with UTF-8 collation in PostgreSQL on Windows?

I'm configuring PostgreSQL db for the Bitbucket Server on Windows. In the official guide it says that: The database must be configured to use the UTF-8 character set. It doesn't strictly say that you have to set collation to UTF-8, but for other…
Wojtek Wencel
  • 2,257
  • 6
  • 31
  • 65
12
votes
4 answers

Questionnaire/Checklist for Bitbucket Pullrequest reviewers

I am trying to see if I can enforce a questionnaire in Bitbucket before reviewers approve a Pull-request. Sample questions that I would like to use are.. If the changes made are to a global repository shared among many regions, did you check with…
endless
  • 3,316
  • 4
  • 26
  • 33
12
votes
3 answers

Error in Jenkins connection to stash

I'm trying to configure my Jenkins job to connect to Altassian Stash. I'm using the git plugin for Jenkins. Here the job configuration details- under source code management, choose git: Repository Url:…
parram
  • 309
  • 1
  • 2
  • 6
12
votes
4 answers

How can i use Jenkins with Atlassian Stash?

I've just setup Jenkins and i have some Repositories in my Stash. I installed the "Git plugin" in jenkins. I can now enter the repository url but there is nothing to enter my credentials. It's possible using…
CBergau
  • 636
  • 2
  • 10
  • 26
11
votes
3 answers

Where does bitbucket server store the repository?

Background: Some time ago my company decided to host our own Atlassian products and we have our source code on a Bitbucket server that we host ourselves. Now our VM (Windows Server 2012) is falling apart and we can't reach bitbucket from the…
Taher Stenberg
  • 138
  • 1
  • 1
  • 6
1
2
3
54 55