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
8
votes
2 answers

Add prefix to commit message in SourceTree

I usually create branches from JIRA issue site. So let's say my JIRA ticket name is "SOMEBUG-356: Bug in software" then a branch name will be: "feature/SOMEBUG-356-bug-in-software". Is it possible to set some kind of template to SourceTree which…
Mariusz
  • 1,825
  • 5
  • 22
  • 36
8
votes
3 answers

How to search (grep) across all files, in all branches, in all repos in Stash?

We have a private Atlassian Bitbucket Server (previously known as Stash) hosting our git repos. How can I search across all source files in all branches in all repos I really want to avoid the process of checking out all repos locally, doing git…
vikingsteve
  • 38,481
  • 23
  • 112
  • 156
8
votes
3 answers

Git delete branch without cloning?

Is there a way to delete a branch from a Git repository without doing a clone or any other sort of local copy? Basically I'm working on a dashboard for a release pipeline and don't want to have to have any of the working project's code on the…
jdarling
  • 2,438
  • 2
  • 14
  • 10
8
votes
2 answers

Does Atlassian Stash provide pastebin/GitHub gist like functionality?

From their public product description of Stash I can't tell whether they provide such an functionality. Can anyone tell me if Stash has pastebin / gist like functionality?
try-catch-finally
  • 7,436
  • 6
  • 46
  • 67
7
votes
3 answers

cloud-builds pub/sub topic appears to be unlisted or inaccessible

I'm attempting to create an integration between Bitbucket Repo and Google Cloud Build to automatically build and test upon pushes to certain branches and report status back (for that lovely green tick mark). I've got the first part working, but the…
7
votes
5 answers

How to find Bitbucket Account UUID?

Since bitbucket no longer supported the use of username. We must instead use User uuid for accessing the bitbucket api's. Depreciated or…
Ratan Uday Kumar
  • 5,738
  • 6
  • 35
  • 54
7
votes
2 answers

Bitbucket Pull Request vs. Crucible for Code Review

Please could someone point me to a discussion around - 1) Benefits of using Crucible over Bitbucket (Server) Pull Request? 2) Integration of Crucible with Bitbucket Pull Request I tried searching one but to no avail. Apologies, if it already…
Sushil Duseja
  • 85
  • 1
  • 4
7
votes
2 answers

Jenkins starts Duplicate builds from same commit Multibranch pipeline

We're seeing multiple builds of our Jenkins multi-branch pipeline being triggered by the same merge commit in Bitbucket. One build is marked triggered by a: "Branch event at " The other by a: "commit notification " We have our Jenkins urls setup…
Kai
  • 1,709
  • 1
  • 23
  • 36
7
votes
2 answers

automatic pull on production server after push to BitBucket

I develop my code locally, commit it to my local repsoitory and then push it to my Bitbucket server. After that I have to login via ssh to my production server like this: ssh my-server@my-host.de pass: very-secure-passs cd www/myPage cd git pull…
Adam
  • 25,960
  • 22
  • 158
  • 247
7
votes
2 answers

Is there any way to speed up git svn?

I am trying to convert an SVN repository to Bit Bucket, with 18 years of history, over 6000 branches and over half a million commits. Git svn went through the first 50k commits in about 6 hours and has spent 3 days converting the next 40k. It has…
eeijlar
  • 1,232
  • 3
  • 20
  • 53
7
votes
1 answer

Cascading merges in Bitbucket Cloud

My company has Bitbucket Cloud (not Bitbucket Server) and we want to start using branching exclusively for development. One of the things I was looking forward to was automatic merging…
Viktor
  • 679
  • 6
  • 21
7
votes
2 answers

BitBucket - Create repository and sub modules

I am using bitbucket web interface and have created a new project "Test_Project". In this project, I am able to create a new repository - 'Module1' using Create repository option. Now I want to create repository hierarchy in bitbucket project -…
Jatin
  • 197
  • 2
  • 5
  • 17
7
votes
1 answer

convert exsisting git repository to git-lfs

I am acctualy trying to convert my git repository to git-lfs. I downloaded the bitbucket test server, created a repository and enabled lfs in the options of the repo and the server. If i call git-lfs to track "*.psd" files, it works fine. If i push…
Frossy
  • 448
  • 7
  • 17
7
votes
3 answers

Git clone error "HTTP code 504 from proxy after CONNECT"

I'm working in a office behind a corporate firewall. My System is windows7, using componentes consola. Usually I need to set up proxy connections to get GIT working with github. But when I try to clone a repository sored in a private Stash…
manuelbcd
  • 3,106
  • 1
  • 26
  • 39
7
votes
1 answer

How to prevent git commit if specific phrase in changes is detected?

I noticed some patterns, that developers tend to do - like committing javascript tests with fdescribe or fit left in them (which means only one test/suite will be running), usually that is found in review phase, but it would be nice to catch those…
Giedrius
  • 8,430
  • 6
  • 50
  • 91