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

Which solution is better in production mode. Forking or new Repository?

I'm managing a project using stash and git. Recently I've seen a new solution for some part of my project. Now I want to apply it as test without affecting my master code and if it would be good enough I add it later to master. So the problem is…
JGC
  • 12,737
  • 9
  • 35
  • 57
1
vote
1 answer

BitBucket SSL over port 8443

I'm having an issue setting up a BitBucket server here locally in CentOS. I've done everything exactly as stated in the directions for setting up SSL over port 8443, but when I try to access the application with https://localhost:8443 it seems to…
1
vote
2 answers

Restrict branch types pushed using Yet Another Commit Checker in Atlassian Stash

The requirement is to set the restrictions such that any new branches pushed to Stash from a developer's machine must follow our naming convention of "feature/PPT-", "bugfix/PPT-", "hotfix/PPT-", "feature/QC", "bugfix/QC*", or "hotfix/QC*". We…
sumant
  • 127
  • 1
  • 3
  • 11
1
vote
1 answer

How define pull request destination Git branch? For Stash

Fetch: git fetch --tags --progress ssh://git@gitscm.company.com/project/repository.git +refs/pull-requests/*:refs/remotes/origin/pull-request/* Result: + 6f39c4e...b2fd4cd refs/pull-requests/1139/merge -> origin/pull-request/1139/merge …
Arthur Kharkivskiy
  • 540
  • 1
  • 7
  • 16
1
vote
1 answer

This pull request cannot be merged. You will need to resolve conflicts to be able to merge

We are using Atlassian products to manage code. JIRA, Bitbucket, etc along with that we are using SourceTree for GIT. Here is the structure of GIT we are using: Master --> Base1 ----> this contains production code. Base2 --> A copy of Base1 also…
1
vote
1 answer

Stash pull request status is not synced in Jira Issue

A pull request was approved in stash.However, the status of this pull request shows up in JIRA as "open" I am trying to find out why the status was not synced up in jira as approved?
sakshi
  • 283
  • 3
  • 15
1
vote
1 answer

stash PR after git rebase for huge amount of code

I tried to go with git rebase being on some feature-branch, applying master branch on it (well rebassing ON master), wich was way ahead that future branch. (master has more new commits than feature branch) So, git branch : feature-branch git rebase…
ses
  • 13,174
  • 31
  • 123
  • 226
1
vote
1 answer

Scheduling a nightly build in Jenkins with multiple conditions

I would like to trigger a Jenkins build when the following conditions are met: Time is 22:00 PM A commit has occurred since the last build I have only been able to either run it nightly (whether there has been a commit or not) using the Build…
Eytan Avisror
  • 2,860
  • 19
  • 26
1
vote
2 answers

How to configure Scan of git Repository created by Stash in SonarQube Runner?

I am doing sample Stash and SonarQube Integartion. How I can make sonar runner to scan and analyze the Git repository that I have created via stash instead of analyzing code placed locally at absolute path like C:/javaCode. Steps that I have already…
Raj Mishra
  • 11
  • 2
1
vote
0 answers

Atlassian Bitbucket Server Precommit Issue getting files

I am writing a plugin for Bitbucket Server (previously known as Stash) which implements a precommit hook and runs the code through a separate program for to check the style of the submitted code meets guidelines and fails the pull request if it…
Joey
  • 11
  • 2
1
vote
1 answer

Python continue script after failure

I am working with a python api for Atlassian's stash application. The script fails to delete a project because it has repos inside and then exits. Traceback (most recent call last): File "stash.py", line 38, in
programiss
  • 255
  • 1
  • 5
  • 16
1
vote
1 answer

Circumvent pull request for script

We use Jalopy to reformat the code. On jenkins/svn, we checked out, formatted and commited again. Now on bamboo/stash, we want to do the same. We set up this restriction for the master branch: Prevent changes without a pull request…
ratlan
  • 341
  • 2
  • 12
1
vote
0 answers

cannot open .git/FETCH_HEAD permission denied (using hook from Atlassian Stash)

I'm using Atlassian Stash to manage our code base, and I am trying to set up a git hook so that when I push up to the Stash repoistory, it then pushes the same changes into the repo we have over the web directory, so when you visit it in the browser…
CMR
  • 1,366
  • 4
  • 15
  • 31
1
vote
1 answer

"Failed to get HEAD" error when pulling from Stash repo with GitHub Desktop

I'm using GitHub Desktop to work with repos in Atlassian Stash. For publishing my own repos, I: Create a new empty repo in Stash Add my local directory in GitHub Desktop Set its origin to my Stash URL (under Repository > Repository…
daGUY
  • 27,055
  • 29
  • 75
  • 119
1
vote
1 answer

how to manage multiple branches on stash

How I can create following branches on stash and push code into them using git. Development1 Development2 Production Please let me know your thoughts for the same.