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

Stop mvn release triggering repeat Jenkins builds

[Releasing via the maven-release-plugin, Git repos hosted on Atlassian Stash which triggers build pipeline in Jenkins.] Is there a way to stop the release triggering a new run of the pipeline? This occurs because the released pom files are committed…
Andrew Eells
  • 735
  • 12
  • 30
7
votes
1 answer

Git Error : [remote rejected] master -> master (missing necessary objects)

I've a rather worrying problem with git. A few days ago I was committing some changes when the server git was on blue screened. (We think it was actually caused by git.) Since then I've not been able to commit any changes to the repository, while…
BJury
  • 2,526
  • 3
  • 16
  • 27
7
votes
2 answers

Software for Git in the enterprise?

We're looking at the prospect of using Git on our team, and hopefully get a lot of other dev teams to join us. If everything goes well I might be setting up Git for everyone. Currently I'm looking to test: GitStack GitHub…
user479911
6
votes
1 answer

Is there is a way to get Commits by datetime In bitbucket?

Is it possible to get commits on Bitbucket by datetime filter using their REST API v1.0 ? I read the entire documentation of the Bitbucket API, but I couldn't find anything related. I'm asking perhaps I did miss something. Thank you! API I am using…
swx
  • 138
  • 12
6
votes
7 answers

Unable to log into Bitbucket on Chrome

When i tries to log in to Bitbucket (web-based version controller) on Chrome (google chrome web browser), i consistently get, Oops, you've made a malformed request. If you came here from a link we sent you, please contact support. This can…
6
votes
1 answer

jenkins pipeline PR build contains wrong branch name

I am using Jenkins multi branch pipeline with bitbucket and I see an issue where the automatic build created for a PR fails as I rely on env.BRANCH_NAME. Problem is that this env now holds not the feature branch name as expected, instead it holds…
YaOg
  • 1,748
  • 5
  • 24
  • 43
6
votes
0 answers

Build Pipeline for CI / CD with Jenkins, Stash and Artifactory

I'm not sure if I can provide enough information over here in my first question, but I gonna try: At my company we use Stash. My project is a multi-repository project (Client, Server, Common). We use Gitflow as branching model. The modules itself…
6
votes
1 answer

How to get the identity of the connected user via the Bitbucket REST API?

in the Stash REST API, after having retrieved an OAuth token, I'd like to get the identity of the connected user (username, email, ...). But I can't find a resource in the doc that let me do it without knowing the username at least. Is there a way…
Pascal Paulis
  • 277
  • 4
  • 17
6
votes
2 answers

Workflow that enforces code review and keeps the integration branch pristine (git, Stash, TeamCity)

I'm trying to design a new workflow that follows these principles: Only commits that have passed automatic verification (CI) should be merged into the mainline (specifically the merged state should pass CI to keep the integration branch as pristine…
6
votes
2 answers

Diff branches in Atlassian Stash

I am trying to get a diff between two branches in stash. Specially before sending the pull request, wanted to verify the changes. have been reading many articles trying to figure out a solution but haven't succeeded yet. here are the articles I have…
user3311522
  • 1,638
  • 3
  • 19
  • 33
6
votes
1 answer

How do I get all git commits using Jenkins multiple scm plugin with git

Has anyone successfully setup jenkins multiple scm plugin with git where commits from all configured git repos display in both the git build data and jenkins build job build page? I've configured all of the git repos with their own name and custom…
6
votes
3 answers

How to integrate JetBrains TeamCity with Atlassian Stash

Stash 2.1 comes with a new REST API that allows you to tell Stash about builds related to specific changesets. How do I let Stash know about my builds in TeamCity?
user479911
5
votes
1 answer

How to get permanent link to a file with BitBucket server?

Sometimes I want to provide a link to some source code in the comment to an issue. If I open repository in browser and find the fileI need, the link refers to master branch by default. It means that over time the code referred by the link will…
Kirill
  • 6,762
  • 4
  • 51
  • 81
5
votes
0 answers

Deleting Bitbucket project avatar

Is there a way to delete/remove the project avatar that has been uploaded. I want to REMOVE entirely, NOT trying to change to another avatar. The reason I want to remove is because I want my Jenkins Bitbucket plugin to generate random icons for…
jlim
  • 909
  • 2
  • 12
  • 24
5
votes
1 answer

Is there any way to force Git to download client hooks as a pre-receive action from the server?

I work in an enterprise environment with thousands of developers, we implemented some server side hooks to prevent large files from being pushed, as well as files with certain extensions and mime types. The problem is that our application…
dukeofgaming
  • 3,108
  • 4
  • 28
  • 35