Questions tagged [bitbucket-cloud]

Bitbucket Cloud is the online version of Atlassian's Git repository management service, publicly hosted by Atlassian servers at bitbucket.org. It hosts git repositories, along with associated project wikis, issue trackers, CI pipelines, pull requests, and user-managed download files.

Bitbucket Cloud is the online version of Atlassian's Git repository management service, publicly hosted by Atlassian at bitbucket.org. This hosting service provides both free and paid subscription options. It hosts git repositories, along with associated project wikis, issue trackers, CI pipelines, pull requests, and user-managed download files.

Should not be confused with [bitbucket-server] aka Bitbucket data center, which is an enterprise server software package that organizations can purchase to host a private Bitbucket server instance on their own server hardware.

179 questions
1
vote
1 answer

When Azure Pipeline pulls code from Bitbucket cloud, why is the local working directory inconsistent?

I have a Azure DevOps (ADO) pipeline with a runtime variable or parameter called option. option can have values of build, test, ci, or cd. The pipeline immediately calls a template based on the value of option. Each of these templates then…
1
vote
1 answer

Is there download option in Bitbucket server ? as it is available in Bitbucket cloud?

This is in reference to this thread : BitBucket - download source as ZIP but i would like to know does bitbucket server also supports it ? Ideally it should support , but i am not able to see this menu in our server installation. Is there something…
1
vote
1 answer

Getting 401 Code when trying to Authenticate with Bitbucket Cloud API

Getting the issue below, I can get the repositories but when I try get the commit's, that is when it fails and I get a 401. Repo's and workspace are private so the first one would fail I imagine if there was an issue with the code entirely. Anyone…
momo
  • 21
  • 4
1
vote
1 answer

Protecting the master branch and merging a pull request using command line

We are using Bitbucket cloud and our master branch is protected to disallow any direct pushes. Once the pull request is approved, Is there a CLI command that can be used to merge the pull request? This is because we would like to increment the…
systemdebt
  • 4,589
  • 10
  • 55
  • 116
1
vote
1 answer

Bitbucket repository creations by api

after reading the doc https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories . Seems this API is for reading the info of existing repos. Is there any API for repo creation?
1
vote
0 answers

atlassian-python-api - How to trigger pipeline using pattern?

In my project I host at the bitbucket I have such bitbucket-pipelines.yml file: pipelines: default: - step: name: "Test and build" ...do something - step: name: "Deploy to test" ...do something tags: …
1
vote
0 answers

Getting error "pipesCount of undefined" on bitbucket deployment

Getting this error on the deployment of nodejs project: Type Error --------------------------------------------- TypeError: Cannot read property 'pipesCount' of undefined at ReadStream.Readable.pipe (_stream_readable.js:637:13) at Readable.…
Himanshu Joshi
  • 100
  • 1
  • 5
1
vote
1 answer

How to run git clone command in a pipeline step LFS enabled

I've a pipeline that is cloning another repository. Pipeline below is running on yyy repository, and it's supposed to clone xxx repository and do some work on it, then upload the results to AWS S3, I have lots of object to be worked on, so git clone…
Oguzhan Aygun
  • 1,314
  • 1
  • 10
  • 24
1
vote
1 answer

TeamCity pull request from bitbucket cloud

Since bitbucket 2020.1 there is integration for BitBucket Cloud in TeamCity. In my project I want to achieve situation: there is a hotfix / release branch in BB I create pull request from that branch to master I want to have automatic build in TC…
tomasz.myszka
  • 101
  • 1
  • 5
1
vote
0 answers

Spring Cloud Config Server - Bitbucket Session

I’m trying to solve an awkward problem with Spring Cloud Config Server via Bitbucket. My config repo on Bitbucket Cloud Server. bootstrap.yaml file looks like below. server: port: 9101 spring: application: name: config-server cloud: …
1
vote
1 answer

Connecting SonarCloud with bitbucket pipelines

I am new to sonarcloud and would like to automate my code quality tests in bitbucket I am trying to use bitbucket pipelines to do it (I am new to pipelines too) my end goal is to do a branch analysis of codes and display the results in the bitbucket…
u0311
  • 33
  • 4
1
vote
0 answers

Is there an option to show a larger message by bitbucketCloud on Slack

The issue Im having is that the messages post in Slack by Bitbucket Cloud seem shortened. I would like to receive the full pull request description in slack, it only posts the 5 most recent commits while I would like to see all commits and their…
R. Montanje
  • 63
  • 1
  • 7
1
vote
0 answers

How to use "q" Query parameter in Bitbucket REST API?

So I am aware of the fact that you can get the files in a repository by using https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug} API. The API also supports the q parameter where you can query the resulting json object based on…
1
vote
2 answers

Bitbucket OAuth Consumer Error - Invalid redirect_uri

am trying to setup a Bitbucket OAuth consumer for authentication for an application called SonarQube (linting tool). Following the guide, it looks like I have setup everything correctly - https://github.com/SonarSource/sonar-auth-bitbucket. The…
leeman24
  • 2,729
  • 3
  • 29
  • 42
1
vote
1 answer

clone private BitBucket repo in Azure DevOps

Am trying to clone a private Bitbucket repository via a bash task in Azure DevOps. This is the command git clone --branch master https://username:password@bitbucket.org/repo.git Earlier I was getting this error "fatal: could not read Password for…
AK123
  • 365
  • 6
  • 17