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

Modifying pre-receive hooks on Bitbucket Cloud

We have Bitbucket Cloud not Bitbucket Server. Is there a way to modify the "pre-receive" functions on Bitbucket? Goal is to audit pushes to make sure there's no obvious vulnerabilities before the code is available on Bitbucket. Git-hooks might work…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
16
votes
1 answer

Can "if" statements be used in bitbucket pipelines?

Im trying to run the following step, but it does not execute the "if" steps (lines 5 and 6) (I'm pretty sure they should as the directory tested for does not exist, i tried in multiple formats of bash if, but all of them fails. Is there a way to…
Gaston Pisacco
  • 213
  • 1
  • 3
  • 10
11
votes
2 answers

Can I somehow enable auto-update of BitBucket pull-request description for post pull-request commits like on Github?

Can I somehow enable auto-update of the pull-request description on BitBucket Cloud for commits pushed after pull-request creation, like on Github? Scenario: I finish some work and make my last commit. I create a pull request using BitBucket Cloud…
Paul Frank Allan
  • 579
  • 4
  • 13
7
votes
2 answers

Webhooks for Bitbucket that apply to all repos

Our team has an account on Bitbucket and we have to configure webhooks for each repo. Is there a way to configure webhooks for all repos in once place instead of managing webhooks in each repo separately? Alternatively, is there a way to use the…
user1604294
6
votes
2 answers

Atlassian Bitbucket Cloud - ssh authentication - git pull works, git push fails

1. Summarize the problem I followed Bitbucket's instructions on setting up ssh. I have a pub/priv key pair, and the pub key pasted into Bitbucket settings (Access Keys) for the project. I have a build server on a GCE VM. git clone worked…
user10664542
  • 1,106
  • 1
  • 23
  • 43
6
votes
0 answers

How to make Bitbucket PRs behave like Github

When a pull-request is created on Bitbucket Cloud, this is the important part of the payload that gets POST'd by Bitbucket webhooks for the repo: { "destination": { "commit": { "hash": "b0xxxx9b05e6", "type": "commit" }, …
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
6
votes
1 answer

Bitbucket: fatal: HTTP request failed when trying to clone Git repo

I can't clone my Git repository from Bitbucket Cloud to my server. I SSHed into my website's server (not local), and then tried to do: git clone https://myusername@bitbucket.org/myusername/reel-visuals.git Right after entering my password, this is…
anniebabannie
  • 139
  • 2
  • 4
  • 9
5
votes
1 answer

How can I skip default pipeline on pull request?

In the project I am currently working on, I want to run the bitbucket pipeline according to the following rules. Test and lint steps should run for each commit pushed to Branch. The test-with-coverage and lint steps must be run for each…
T. Ç
  • 75
  • 1
  • 7
5
votes
0 answers

Rest API for bitbucket branch Sync

Need Rest API to Sync branches in Bitbucket (Cloud) without merge pull request. Cannot find in API documentation. Is there any rest API for syncing branches? Please help on above query (high priority).
Atit
  • 125
  • 2
  • 10
5
votes
2 answers

How to integrate Bitbucket cloud with Concourse CI?

I have worked out to set a new team in concourse ci and can login as Bitbucket users. fly set-team -n main \ --basic-auth-username myuser \ --basic-auth-password xxxx \ --generic-oauth-display-name bitbucket \ --generic-oauth-client-id xxxx …
Bill
  • 2,494
  • 5
  • 26
  • 61
4
votes
1 answer

Best way to run bitbucket scheduled pipelines on weekdays

Bitbucket scheduled pipelines UI does not have an option for us to enter a cron expression and we can only run the pipeline hourly, daily or weekly. There is an option to create schedule via API call with cron expression in payload, however,…
4
votes
0 answers

How do I share self hosted BitBucket Windows Pipeline runner across main and fork repositories

I have a main BitBucket repo say project.git. I have a self hosted Windows runner setup to monitor changes to this repo and kick off a build. It has been working great. I forked the repo to say joe.git. I want to test my changes in joe.git before…
4
votes
0 answers

No "Create Pull Request" option in Xcode 13.2.1

Having heard about the possibility to create and comment pull requests, I was about to try this feature: I have successfully added by Bitbucket Cloud account in Preferences using an App Password I can see my repository, branches I can create…
rgal75
  • 151
  • 6
4
votes
1 answer

Get latest tag commit from bitbucket api 2.0

I am trying to create a utility tool for which I need to get the latest tag committed to a specific repo. I have tried so far: curl -X GET \ https://api.bitbucket.org/2.0/repositories///refs/tags \ -H 'Accept: */*' \ -H…
Dota2
  • 456
  • 4
  • 16
4
votes
1 answer

Code Coverage for Pull Request for Bitbucket Cloud

I found the following addon for Code Coverage status directly in a Pull Request, that can be integrated with Bitbucket Server. https://marketplace.atlassian.com/apps/1218271/code-coverage-for-bitbucket-server Is there any similar addon for showing…
Sai Nikhil
  • 1,237
  • 2
  • 15
  • 39
1
2 3
11 12