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

Atlassian Stash shows when a change was committed locally and not when it was pushed to the Stash repository

Stash says the latest commit was committed 8 minutes ago. That was when I committed the change locally. I then pushed the changes to the Stash repository 7 minutes later (1 minute before the screenshot). I'm somewhat surprised that it is the local…
user479911
1
vote
1 answer

Create Stash repo via Rest API?

Edit 2: I got it working using wget. Here is the wget command: wget --no-check-certificate --header='Host: [hostname]' --header 'Connection: keep-alive' --header 'Authorization: Basic [user:pass(Base64)]' --header 'Content-Type: application/json'…
nweiler
  • 1,140
  • 1
  • 13
  • 23
0
votes
0 answers

Jenkins Pipeline SCM Bitbucket Credentials getting An internal error occurred during form field validation (HTTP 500)

I integrated Jenkins with the Bitbucket-Server plugin. When I was choosing Bitbucket Conjur Secret Credentials then I got an error like "An internal error occurred during form field validation (HTTP 500)". Reference link
sameer
  • 17
  • 1
  • 6
0
votes
1 answer

Bitbucket Apache2.4 proxy configuration

Unable to configure Apache proxy configuration for bitbucket in Linux redhat 8 My SSL.conf file read like this... but not sure what is happening in terms of redirection and unable to achieve redirection. If you could guide me on this please.…
om joshi
  • 13
  • 2
0
votes
0 answers

How do I change the config items in a repo in BitBucket?

I have a BitBucket repo as a target of a mirror but it is rejecting the push with an error message about it does not accept push requests. Apparently I need to change the config value: receive.advertisePushOptions but this is not shown in the…
Stefan
  • 3,669
  • 2
  • 32
  • 43
0
votes
0 answers

Trigger a TeamCity build after a pull request completes

Our current setup is to have a build triggered by pull request which will publish the output to a network location for testing. Once testing is completed then the pull request is accepted and merged into the main branch. I want to set up another…
0
votes
0 answers

is there a format for the URL/hyperlink to source code for bitbucket server

is there a format for the URL/hyperlink to source code for bitbucket server I searched through the BitBucket KB & Docs and I found one for BItBucket Cloud here:…
nnay84
  • 167
  • 1
  • 12
0
votes
1 answer

Getting Commit ID on a specific file using file name/path - Bitbucket Server API

I am trying to write some scripts which will create files(json) in Bitbucket Server and occasionally update these files. Later on I would like to be able to query the changes made to the files and what was added/removed. For now i have been testing…
0
votes
0 answers

Invalid Crediential to Clone repo in jenkins

Failed to connect to repository : Command "git.exe ls-remote -h -- https://bitbucket.org/nallwar/jenkins-docker-sample.git HEAD" returned status code 128: stdout: stderr: remote: Invalid credentials fatal: Authentication failed for…
0
votes
0 answers

Cannot Fetch or use any git commands (push , pull , ...) on Atlassian BitBucket Repository

When i try to fetch or do any command on my Atlassian gitbucket i get the following error (https://i.stack.imgur.com/39pZ7.png) Anyone could help, please ? Thank you in advance for your help, it will be a life saver I tried to fetch on BitBucket…
0
votes
1 answer

Automatically add files to Bitbucket Server git repositories when they are created?

I would like to add a file (readme.md) to a Bitbucket Server git repository when it is created. I am looking for suggestions on the best way to do this as well as any example code on how to accomplish it. I was looking at the following…
Jay
  • 27
  • 3
0
votes
1 answer

Don't trigger a PR when target branch changes

I'm using Jenkins 2.209 with Bitbucket server 7.12.0 latly we changed to a multibranch pipeline I've notice that when a PR is approved and merged into main all the other open PR's that targeting main are triggered. Is there a way to tell jenkins not…
0
votes
0 answers

How to store comments of commit in database in Bitbucket Server?

I have Bitbucket Server, I can find commits in database but it doesn't store the message of commit. To get messages Bitbucket Server has api to get commits of repository but its only for specific branch…
Danik
  • 115
  • 1
  • 2
  • 12
0
votes
0 answers

how to create a normal user in Bitbucket data server?

I setup a Bitbucket data server on the cloud VM. Everyhing works great except of the user management. I found all users that are created in Bitbucket server default to SYS.ADMIN. I read the official doc of Bitbucket. Have not found out a way to…
shuming
  • 25
  • 6
0
votes
0 answers

Bitbucket Server - Get Builds

Does anybody know if there is a way to get a list of Builds from the Bitbucket Server via the API? I am looking for something similar to the List pipelines endpoint for the Bitbucket Cloud. But i need to get a list of Builds from the Bitbucket…