Questions tagged [bitbucket]

Bitbucket is a hosting site for Git and Mercurial. The service offering includes an issue tracker and wiki, as well as integration with a number of popular third-party services. Atlassian acquired bitbucket.org in 2010.

Bitbucket is a hosting site for Git repositories. The service offering includes an issue tracker, wiki and webhooks, as well as integration with a number of popular third-party services.

See also

See more

8373 questions
3
votes
0 answers

How to implement openvpn in bitbucket pipelines?

I'm trying to implement an CI tests on bitbucket pipelines . To do so, I need to connect the pipelines to my OpenVPN server to be able to communicate with other client. Here is my bitbucket-pipelines.yml : pipelines: default: - step: script: …
Tobi
  • 31
  • 3
3
votes
2 answers

How to reject git push based on some rule

In our repository, we have instructed all developers not include one keyword (which is ops$abc) prefixed database objects. For example for "update ops$abc.tablename ." we have instructed to use update tablenane . But developers are making this kind…
avi_panday
  • 67
  • 1
  • 3
  • 13
3
votes
1 answer

Use BitBucket pipeline to build a maven project on pull request merge

So I am using AWS Codepipeline and BitBucket as a repository. AWS CodePipeline does not have support for BitBucket as a source.So I have configured my source to be AWS S3.I manually run AWS CodeBuild which creates a war file of my maven project,and…
3
votes
3 answers

ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: exit status 1

I am trying to deploy my first app in google cloud bucket by using bitbucket pipeline, but I am getting the following error in google cloud console. ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: exit status 1 ERROR The command '/bin/sh…
3
votes
1 answer

How do i merge git branch from dev to staging then production

I have just inherited a Drupal project and haven't used git in a while and I have no previous developer to speak to. There are two branches production and staging and equivalent hosting environments. Would this be a correct workflow: Git clone…
tinamou_ed
  • 43
  • 1
  • 6
3
votes
3 answers

How to move un-pushed commits from one (local) branch to another in git?

I would like to move my local commit, not yet pushed to remote, to another branch. I am supposed to follow this workflow. We just started with this practice, so kind of forgot. We have this JIRA & Bit-Bucket. We have to create a branch from JIRA…
gsakthivel
  • 365
  • 3
  • 17
3
votes
1 answer

TeamCity commit status publisher with BitBucket two factor auth

How do I send the status of a TeamCity build to a BitBucket Cloud pull request when two factor auth is enabled? I've created a BitBucket app password and added the credentials to a "Commit status publisher" build feature: This results…
infojolt
  • 5,244
  • 3
  • 40
  • 82
3
votes
3 answers

How to hook up Terraform to create Cloud Build Triggers that pull from a private bitbucket Repo In the GCP

I am setting up a terraform plan in order to create a cloud build trigger in the google cloud provider. However the steps outlined in the terraform documentation are for public git repositories. When I tried hooking up a private bitbucket repository…
3
votes
5 answers

Bitbucket Pipelines apt-get stopped working

My Bitbucket Pipelines is configured for some time but today my builds started to fail on apt-get command: I use java 8 docker image: image: java:8 And I need to install python # Install python - echo "Install python" - apt-get update -…
Danylo Volokh
  • 4,149
  • 2
  • 33
  • 40
3
votes
3 answers

Importing repository in Azure DevOps with Git LFS

I am trying to migrate Bitbucket repositories to DevOps using the import repository function in DevOps. Some of those repositories have LFS enabled, and it looks like DevOps does not import the LFS files since when I clone the repo I got a lot of…
oererik
  • 41
  • 5
3
votes
1 answer

What is the default instance spec for bitbucket pipeline build instances, e.g. CPU, Ram etc, can we configure it?

We are looking to run some builds that require require some power. What is the equivalent clock speed for the default build instances? How many virtual cores and how much RAM do they have? Can they be configured to have a higher spec?
newlogic
  • 807
  • 8
  • 25
3
votes
1 answer

link a local project to an existing git repository

I am facing a problem with linking a local project to a git repository. The problem started when i created a new folder with the same name of the git repository, then i ran git clone to get the source code locally. but what happened is that the…
Ali
  • 1,633
  • 7
  • 35
  • 58
3
votes
1 answer

Using Beyond Compare with Bitbucket extension for visual studio to see pull requests?

I'm using Visual studio 2017 professional with beyond compare as a diff/merge tool for our git (bitbucket) source code. As you can see, BC is invoked I'm trying to compare with history : I also wanted to see pull requests so I've installed the…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
3
votes
1 answer

Bitbucket pipeline deploy ignores vendor folder with ftp upload

I am trying to deploy PHP project using bitbucket pipeline. With this code: init: # -- First time init - step: name: build image: php:7.1.1 caches: - composer script: - apt-get update && apt-get install -y…
3
votes
0 answers

"User Filter" and "Branch Filter" equivalent for Webhooks in BitBucket

We are trying to migrate from Hooks to Webhooks on 'BitBucket' and can't find a way to specify the Branch Filter and User Filter. While using Hooks, we just need to specify the regex values as in the image below to notify a job to trigger for…
Prasann
  • 1,263
  • 2
  • 11
  • 18