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
1 answer

SonarQube preview mode for pull request shows all issues instead of diff

We'd like to have code analysis results from SonarQube in Stash pull requests, more precisely only for the changed/added code. The setup looks like this: Atlassian Bitbucket v4.14.4 Jenkins ver. 2.69 SonarQube Version 6.4 (with sonar-stash plugin…
AnTi
  • 1
  • 3
0
votes
1 answer

bitbucket hook not working

I am working with buctbucket version 4.4.1. When i am trying to run by custom pre-commit hook with stash it gives me error stating that failed to push some references. the hook is written in shell format placed inside pre-receive.d directory of…
0
votes
0 answers

Displaying SWF file in README.md of Bit Bucket

I am facing problem to attach Swf file to README.md in Bit bucket ,Can any suggestion how to include swf file README.md. I tried with some of the suggestion i got from net. !filename.mov|height=800,width=600,id=media! None of this is working.Can…
NITHESH K
  • 128
  • 2
  • 9
0
votes
0 answers

Cloning bitbucket repo in local server and project viewed through android studio shows error in all java files

When I am cloning a android project repo from bitbucket everything happens successfully and all files get cloned in my local repo and when I try to open the project by android studio 2.3.3 as the project uploaded was created using android studio…
0
votes
1 answer

Is it possible to restrict the permissions to only allow REST API calls in Bitbucket Server?

I was wondering if it is possible to restrict the credentials of a user to only allow to perform REST API calls (ideally selected ones). I would like to restrict the user created for Jenkins purposes on to be able to: trigger the build (using POST…
Crazyjavahacking
  • 9,343
  • 2
  • 31
  • 40
0
votes
1 answer

Unable to create BitBucket OAuth Consumer

I am trying to install the BitBucket Status Notifier Plugin and as part of its documentation it is mentioning to create OAuth Consumer. However I am not able to find the option in any setting, even if I am a super admin. I am using hosted BitBucket…
Crazyjavahacking
  • 9,343
  • 2
  • 31
  • 40
0
votes
1 answer

what is the syntax of the stash attachment image?

our company uses the git stash, every time we need attach an image of the sonar report just like this [![f1.PNG](attachment:622/ff240462b5%2Ff1.PNG)](attachment:622/ff240462b5%2Ff1.PNG) then the page will show the image I capture. could you tell…
Eumendies
  • 93
  • 1
  • 13
0
votes
1 answer

Alternative way of commenting in Bitbucket

I've a question about commenting in Bitbucket. If I click on "diff" I have the possibility to compare two branches and i can comment each line of code with a separate comment. Is there any possibility to have to same functionality with a command…
altralaser
  • 2,035
  • 5
  • 36
  • 55
0
votes
1 answer

Resync branch deleted from a fork in Stash

I have two Stash repositories, one is a FORK of another one (PARENT). I did a mistake and merged in the wrong branch (FORK.wrong-branch) some commits. To fix it I decided to delete FORK.wrong-branch. Now this branch exists only in the PARENT…
user2572526
  • 1,219
  • 2
  • 17
  • 35
0
votes
3 answers

Free GIT Server with Web GUI a la BitBucket/GitHub

At work I am working with BitBucket. I want something like that for at home to deploy on my Linux Server. So I am looking for: Only 1 or 2 users needed. An GIT Server deployable on Linux A Fancy Web GUI to visualize branches and do other…
robert
  • 1,921
  • 2
  • 17
  • 27
0
votes
2 answers

BitBucket branch create and delete events fired multiple times

I am working on a BitBucket add-on that notifies the users of repository and branch events. While testing branch events I noticed that delete and create events are fired more than once (I am not listening to the BranchChangedEvent). From what I…
Dennis
  • 346
  • 3
  • 14
0
votes
1 answer

Hibernate in Bitbucket plugin

Is there a way to use Eclipselink JPA inside a BitBucket plugin and connect to the BitBucket Database? I'm trying to connect to the BitBucket database using EclipseLink and retrieve the users. I created a User entity class and tried retrieving the…
Sri
  • 573
  • 2
  • 6
  • 20
0
votes
0 answers

Connect to Bitbucket database from Bitbucket plugin

I have an instance of Bitbucket which has an Oracle database. I am creating a plugin where I need to use the database tables directly (not the AO tables). Is there any way to achive this? Do I need to use a normal JPA framework inside the plugin to…
Sri
  • 573
  • 2
  • 6
  • 20
0
votes
1 answer

Mimic functionality of "Download" link via Git cli

I have a git repo. In the left nav, there's an option to "Download". It downloads the master branch as a zip file. How do I do the same thing via the cli? For some reason, when I use git clone, the data that it returns is not the same. I only know…
0
votes
1 answer

Python scripting for Bitbucket server API access

Anyone know how to access branch related operations pull,push,clone and also take backup of branch,repository as zip or tar file etc of Atlassian Bitbucket server 4.14 installed on local machine using python script I tried bitbucket-api module of…
Shahaji
  • 175
  • 1
  • 4
  • 14