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

python: can't open file - Bamboo

I have configured a task as check out source code from Bit-Bucket and it is working fine. As per some comments I can see the below lines is working fine. /usr/bin/python <
Vineesh TP
  • 7,755
  • 12
  • 66
  • 130
0
votes
0 answers

How to revert back a pull request in Stash?

I want to revert my pull request changes in master protected brach which accept changes only through pull request I tried git revert -m 1 commit code git checkout -b rollback_branch git add . git commit -m 'rollback' git push When I opened a new…
Mohammed
  • 334
  • 1
  • 5
  • 22
0
votes
1 answer

How can we create a CI/CD Pipeline for Angular 8 code in Bitbucket-server to be deployed in Azure Cloud?

I am new to Azure Cloud. I need to set up a CI/CD pipeline that will run the following tasks and Deploy the build to Azure Cloud Web App server , every time new changes are pushed to a particular branch in Bitbucket-server. Following are the tasks…
0
votes
0 answers

Change timestamp on bitbucket

I have made a file and add it on 08 Jul 2019 14:00:00 +0000 but I wanted to show in Bitbucket repository this timestamp: Mon, 08 Jul 2019 11:42:00 +0000. so I did: $ git commit -m"try444" --date="Mon, 08 Jul 2019 11:42:00 +0000" then after the…
Chen890
  • 31
  • 7
0
votes
1 answer

Getting Project does not exist while calling a bitbucket server api version 1.0

I am using bitbucket server in my local.And trying to get all the branches using bitbucket rest API version 1.0. http://10.0.75.1:7990/rest/api/1.0/projects/coe/repos/onlinebanking/branches Getting this error…
Mayank Jain
  • 95
  • 1
  • 9
0
votes
1 answer

What provides PageUtils and PagedIterable for the Bitbucket API?

I am trying to find what provides the packages: com.atlassian.bitbucket.util.PageUtils; com.atlassian.bitbucket.util.PagedIterable; I have looked in: Bitbucket API Bitbucket SCM Common Bitbucket SPI
eeijlar
  • 1,232
  • 3
  • 20
  • 53
0
votes
2 answers

Git: Setting the repository after changin the name in bitbucket

I have changed the name of a repository using bitbucket settings interface, but now I can't push from the command line remote: Repository tdkdev/tdkwebapp not found fatal: repository 'https://nunito@bitbucket.org/tdkdev/tdkwebapp.git/' not found
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301
0
votes
0 answers

Jenkins git clone fails intermittently

We clone three repos in our pipeline from BitBucket: Shared Libraries Jenkinsfile Source code The build fails intermittently with logs shown below: Started by an SCM change > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to…
ScottSummers
  • 310
  • 1
  • 13
0
votes
1 answer

How can I trigger a Python script from Bitbucket Webhooks?

I want to execute a Python script each time a pull-request is merged. I am using Bitbucket and I saw that it has a web-hook option, where I can put an URL and it will call that URL. Is there a way I can directly call the python script like…
MagikarpSama
  • 323
  • 1
  • 11
0
votes
1 answer

Is it possible to have required merge checks on Bitbucket Server

I have managed to set up some custom checks on Bitbucket server and they work ok. However I seemingly need Bitbucket Premium to make them required, but I don't think there is a Premium option for Bitbucket Server. So how do I setup required merge…
Andy Polhill
  • 6,858
  • 2
  • 24
  • 20
0
votes
1 answer

Anyone knows how to Lock File in GIT so that users can be let known prior checkout of the program?

I am looking to set up git with file trackble and File locked when one user checks out. I want other users should not be able to checkout when on user is using a particular branch for work for a particular file in the branch for work and the rest…
0
votes
1 answer

What's the equivalent of git clone, using git init, git remote add, git fetch etc.?

As currently I cannot clone repositories from a Bitbucket server, I've found I can still do a series of git init, git remote add etc. to get the repository on my computer. I would like to make sure I exactly produce the equivalent of a "clone". Is…
0
votes
0 answers

Bitbucket conditional restriciton for branch

Team - We like to enable below mentioned condition in bitbucket server. Condition - Always feature branch should be created from master and not from anything else. What we explored: "Create branch wizard for bitbucket" - This don't suit us because…
Sandya
  • 1
0
votes
2 answers

Add corrupted or deleted commit to remote git server

It seems that some files got corrupted on my remote git server and I'm getting the following error when I try to clone the repo to a new system. remote: error: Could not read c168e82dd62c0cdbf3ea7c3be3a84218a12c8a03 remote: fatal: Failed to traverse…
0
votes
1 answer

git - add tag but exclude merged commits

Using git repos, git bash shell for interaction; using BitBucket for Code Reviews and Merging, creating Branches, etc. We'd like to create a Service Pack 'Tag', but there are Commits that have been Merged we don't want included in the Service Pack…