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
1
vote
0 answers

Failed to load js/css from bitbucket server reverse peroxided by Nginx

I am very new with nginx and bitbucket server setup. I have an nginx server setup in front of bitbucket instance (running on port 7990). Below is my configuration of /etc/nginx/sites-available/default (not /etc/nginx/nginx.conf) server { …
Abhishek Chatterjee
  • 1,962
  • 2
  • 23
  • 31
1
vote
1 answer

Printing code coverage status on pull request for Bitbucket stash based repository using JenkinsFile

I currently have a private Bitbucket stash repository e.g. https://xyzgit.company.com/stash/scm/proj1/subproj2. This is a gradle based project which uses JenkinsFile to manage different stages for Jenkins Job (including setup, build, publish etc).…
1
vote
0 answers

Bitbucket under CNTLM proxy

I'm using the cntlm proxy and I'm trying to push code to Bitbucket. I have no issue with GitHub, but with Bitbucket I have the following error: (443) ssh: connect to host altssh.bitbucket.org port 443: Network is unreacheable (22) ssh: connect to…
Surcle
  • 572
  • 1
  • 5
  • 15
1
vote
1 answer

How to setup a build+deploy environment for an angularjs/asp.net web api?

I have an angularjs app with a c# webapi . The repo for the angular app is stash and the c# restapi is in TFS. Is it possible/easy to create an automated build and deployment environment for this stack? What are possible solutions for this? Does…
bier hier
  • 20,970
  • 42
  • 97
  • 166
1
vote
1 answer

How to get user who pushed forced with git?

I use git version system on a bitbucket server. Someone was pushed commits with force. Can I get this committer? How can I find this user? Is it possible with git commands like 'git log --full-history, git log --reflog or vs ...'. If can i get…
Mehmet Bektaş
  • 173
  • 1
  • 2
  • 15
1
vote
0 answers

How to Mark a Bitbucket Pullrequest

We have 2 bitbucket plugin hooks which get triggered during the pull request merging (Plugin A --> POST receive, Plugin B --> PRE receive). Plugin A creates few more pull requests to down merge the code to other branches. Plugin B makes some…
sprasadk
  • 11
  • 1
1
vote
1 answer

Any way to move an existing local git pre-push hook written in ruby to run a bitbucket server?

As the title says, I have an existing local hook that is written in ruby. I'd like to move this hook server side. I've had a look through the bitbucket addons but didn't see anything that would allow me to run the ruby script. Is there some way to…
user5754
  • 147
  • 1
  • 7
1
vote
0 answers

Are there any "smart" Pull Request diff plugins for BitBucket

I'm wondering if there any plugins for Bitbucket that allow you to filter out certain kinds of changes from the diffs? What I have in mind would probably need to be "sensitive" to the coding language There's a wide plethora of things I wish I…
DaBlick
  • 898
  • 9
  • 21
1
vote
2 answers

How to get Lines of Code in Bitbucket all repos/all projects

I'm unable to find database query for total lines of code in all the bitbucket projects. Does anyone know database query or REST API to get the total lines of code in all the bitbucket projects? Thanks in advance.
1
vote
1 answer

Why does 'git repack' sometimes say 'Nothing new to pack.' and other times it repacks everything (with no changes to the repo)?

I have a large git repository with 17 years of history. After converting it with svn2git, I usually do a 'git repack -a -d -f'. This says 'Nothing new to pack.' Then if I push it to the server (in my case Bit Bucket), and then locate the repository…
eeijlar
  • 1,232
  • 3
  • 20
  • 53
1
vote
1 answer

Unable to push into public repository in Bitbucket cloud

I have been using bitucket server and recently an external vendor had setup a repository on bitbucket cloud. We have a corporate proxy as well. I am having issues pushing changes to public repo or cloning private repo on bitbucket cloud. Issues: (…
VVP
  • 766
  • 4
  • 14
  • 39
1
vote
2 answers

Bitbucket 5.0.0 is not compatible with git 2.14.0

I have updated git client from 2.13.3.windows.1 to 2.14.0.windows.1 recently. After this, I can no longer successfully execute any git command to the repository hosted by an on-premise Bitbucket 5.0 server instance, eg.: $ git pull Bitbucket cannot…
Marcin Kłopotek
  • 5,271
  • 4
  • 31
  • 51
1
vote
0 answers

Where can I find examples of how to use Netflix/nebula gradle-stash-plugin?

I have a requirement to automate Atlassian stash related tasks within my Gradle builds. I have tracked down the Netflix/nebula gradle-stash-plugin which looks as though it will perform all the work I require. My issue is I cannot find any examples…
Hector
  • 4,016
  • 21
  • 112
  • 211
1
vote
3 answers

Bitbucket access error with two different Bitbucket accounts

I've two Bitbucket accounts. One for office and the other is personal. Now I've also created two SSH keys for these accounts and added the keys but seems now I can't access to my personal account. When I try git push -u origin develop, I get this…
Ariful Haque
  • 3,662
  • 5
  • 37
  • 59
1
vote
1 answer

how to read BitBucket/Stash branches and their linked JIRA tickets with Java

I want to read bitbucket/stash branches and their respected Jira issue, when i was looking for it and found Atlassian APIs. I couldn't find any proper examples in this, like how do I connect to bitbucket server, get information of any project, and…