Questions tagged [bitbucket]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Puppet: Issues with Vcsrepo (git) ".... exists and is not the desired repository."

I use puppet/Vcsrepo to distribute and update software to a bunch of linux servers from a Bitbucket(cloud) server. This worked fine for years but about 6 months ago Puppet started complaining about ...
user avatar
0 votes
1 answer
76 views

Deploying monorepo without SSH

Full Disclosure: I'm a DevOps noob. I am running a MERN mono repo on an EC2 instance. Originally, I would always SSH into my machine, pull from the repository, and build again. But there are problems ...
user avatar
0 votes
0 answers
32 views

GIT 2.35.2+ security patch issues with BitBucket

As described in https://github.blog/2022-04-12-git-security-vulnerability-announced/ there was a security issue with GIT <2.35.2 The problem I'm having is that neither solutions for BitBucket ...
user avatar
0 votes
0 answers
51 views

Allow Bitbucket pipeline runner to access ports other than 80 and 443 such as NFS

I am trying to persuade a bitbucket pipeline that employs a runner on our GKE based infrastructure to mount a directory from a GCE VM via NFS. It seems that the outgoing traffic to NFS ports is ...
user avatar
0 votes
0 answers
32 views

Is there a way to configure Bitbucket to show compiler warnings in PRs?

A common problem we have at work is people committing code without having noticed that they're increasing the number of compiler warnings. The ultimate goal is to make warnings errors, but until the ...
user avatar
  • 101
0 votes
0 answers
153 views

Cannot clone a bitbucket.org project to Linux Ubuntu via WSL in a Windows10

So I try to clone a project via Visual Studio Code using a Linux Machine connected with WSL in my Windows System. I get the error "fatal: unable to access '.....git/': Failed to connect to ...
user avatar
  • 13
0 votes
1 answer
108 views

HAproxy ACLs to Allow ssh git operations to only selected git repositories / project urls ( block all other repos)

I have Bitbucket Server serving SSH git traffic on port 7999 and it has an HAProxy for SSH port forwarding ( HAProxy is only for a set of users from a secure n/w). The requirement is to Allow only ...
user avatar
  • 11
0 votes
1 answer
222 views

Rackspace yum install git cURL 443 Connection refused

Trying to install git in a RHEL Rackspace Dedicated Server, but am getting the following after typing in this command: yum install git Curl error (7): Couldn't connect to server for https://rhui....
user avatar
0 votes
0 answers
281 views

please make sure you have the correct access rights and the repository exists

I'm having trouble connecting to bitbucket via command prompt I'm getting error please make sure you have the correct access rights and the repository exists But I'm using pagent and I'm using ...
user avatar
-1 votes
1 answer
111 views

Is Gitlab the only vendor support subgroups level git repos?

Try to evaluate a few SaaS Git providers (e.g., Github, Bitbucket) other than Gitlab, but I don't think any of them support a subgroup level repo mycompany/backend/core.git mycompany/devtools.git ...
user avatar
  • 101
0 votes
2 answers
221 views

I am getting a Bitbucket Pipeline error when deploying to Google App Engine

googlecloudsdk.command_lib.app.deploy_util.VersionPromotionError: Your deployment has succeeded, but promoting the new version to default failed. You may not have permissions to change traffic splits. ...
user avatar
1 vote
1 answer
625 views

Meraki VPN behind NAT breaks Bitbucket Git on WSL2 (Ubuntu 20) on Windows 10

I access two Meraki VPNs from my Windows 10 Pro (10.0.19042 Build 19042) machine: One which is not behind a NAT - when I switch this on, I can do git clone [...] or git fetch [...] just fine. Second, ...
user avatar
0 votes
1 answer
823 views

Failed to trigger build: Couldn't read commit

I work with google cloud build and connect with bitbucket. The trigger have been work with a few build. But suddenly, I got the error like in the screenshot. I don't have any idea. What is it mean? ...
user avatar
1 vote
0 answers
182 views

Bitbucket YLM pipeline to deploy on Digital Ocean

I am following this guide to create a pipeline to deploy my Django project to Digital Ocean, Ubuntu 18 droplet. What I have done SSH key generated and added to my remote server and bitbucket Synced ...
user avatar
  • 183
0 votes
1 answer
32 views

How to avoid pushing our project to their own repository via git [closed]

We want to restrict my developer to upload our own project to their own repository.
user avatar
1 vote
1 answer
1k views

Permission denied SSH key and bitbucket

In order to ensure security, I have added SSH public key to my Bitbucket account. This is working perfectly and no password is prompted since the private key is added to my machine using ssh-add ...
user avatar
0 votes
1 answer
269 views

How to access Cloud Compute instance Google as a service through SSH?

I'm trying to access a Compute instance through SSH in my bitbucket-pipeline, but for some reason, anything I try to do doesn't work, so I'm obviously missing something. I created a service account in ...
user avatar
1 vote
1 answer
5k views

How to configure Jenkins Job to use Bitbucket Repository Access Key when cloning repo?

In one of my bitbucket repositories on a Bitbucket server instance, I've configured an Access Key and would like to use this access key within a Jenkins Job to clone said repository. However, there ...
user avatar
  • 113
0 votes
1 answer
693 views

How to connect BitBucket Server on Azure VM with Azure DevOps?

I have a Azure VM with BitBucket Server Installed. How do I connect this to Azure DevOps for establishing a CI-CD pipeline ?
user avatar
1 vote
1 answer
509 views

Run PHP Script as a background process in AWS Beanstalk Post Install Hook

UDPATE It turns out that this is the wrong way to use elastic beanstalk. The app would be running, however it would be a hack rather than a correct solution. Use EC2 instead. I'm deploying a PHP ...
user avatar
  • 13
0 votes
0 answers
315 views

No IPv6 in AWS EC2

I've mounted an EC2 instance based on Ubuntu LTS 16.4. Instance is in a VPC and has IPv4 and IPv6 assigned. Security group allows output towards any IP address for IPv4 and v6 on port 22. (Same ...
user avatar
  • 195
2 votes
1 answer
2k views

How to change repository user privileges via Bitbucket API 2.0?

I'm looking for option to change repository user privileges via API 2.0. But at tutorial I find only option for API 1.0 wich is deprecated - https://confluence.atlassian.com/bitbucket/groups-endpoint-...
user avatar
  • 111
2 votes
0 answers
2k views

shell request failed on channel 0 putty

I'm trying to pull from bitbucket through Jenkins in our AWS windows server. Jenkins is using the System User so I need to accept the host key in order for it to work because Jenkins doesn't provide ...
user avatar
2 votes
0 answers
128 views

BitBucket Server -- running multiple server proxies?

I've got BitBucket server 5.11 I'd like to run multiple proxies in front of it, with different hostnames. So that bitbucket.corp.com as well as corp.bitbucket.com can be hosted on seperate proxies. ...
user avatar
  • 205
-2 votes
1 answer
310 views

Strange IP routing - ping not working [closed]

From my server I can't clone repos from bitbucket.org nor reaching bitbucket.org using ping. Everything worked up to now with the current configuration. Here is what I found out up to now: Trying ...
user avatar
  • 476
0 votes
1 answer
1k views

How to configure bitbucket cloud default groups for a new repo

I am trying to configure bitbucket cloud so as to include only administrators on a new repository. I don't know who/how this account I am working with was setup, but when I new repo is created it has ...
user avatar
1 vote
1 answer
632 views

Changing Atlassian Bitbucket path

My setup: I'm running both Jira and Bitbucket [5.12.0] on my Ubuntu 18.04 server. I've tried to change the urls for both apps to be: 192.168.1.77:8080/jira and 192.168.1.77:7990/bitbucket respectively....
user avatar
  • 119
0 votes
1 answer
1k views

Git: server certificate verification failed using Bitbucket Server

I have a Bitbucket server running onprem with a certificate. I added it to the keystore ussing the follwing commands openssl pkcs12 -export -in myurl.com.cer -inkey myurl.com.key -out myurl.com.p12 ...
user avatar
  • 101
1 vote
1 answer
915 views

Using elastic beanstalk CLI (eb cli) via bitbucket pipelines

I'm attempting to use bitbucket code pipelines to deploy to elastic beanstalk, using the eb cli. Here's my bitbucket-pipelines.yml file, I've based it on the amazonlinux image, as this is what's ...
user avatar
  • 141
2 votes
1 answer
1k views

Jenkins, git-plugin and Bitbucket under Windows: Authentication failed

I have setup a private Bitbucket repo which can be accessed fine by the Jenkins Git-Plugin. When I switch the repo to require authentication Jenkins complains with stderr: fatal: Authentication ...
user avatar
  • 381
2 votes
1 answer
258 views

Docker Bitbucket start stop at: c.a.s.i.hazelcast.HazelcastLifecycle Updating Hazelcast instance capabilities

Im trying to start a bitbucketserver. Im behind a proxy and I set the proxy configuration. Every time I try to start the container, spring stop here: c.a.s.i.hazelcast.HazelcastLifecycle Updating ...
user avatar
2 votes
2 answers
4k views

Unable to git clone over SSH from Bitbucket from certain servers

We have a Bitbucket Server instance hosted in AWS. From some other AWS servers (in another region), git clone over SSH fails with ssh: connect to host (hostname) port 7999: Connection refused ...
user avatar
  • 83
1 vote
1 answer
3k views

Haproxy appears do be issuing the wrong certificate

I am trying to secure a domain with haproxy. When I load the URL: bitbucket.kl.company.com, I get the error: bitbucket.kl.company.com uses an invalid security certificate. This certificate is only ...
user avatar
  • 323
0 votes
0 answers
101 views

Bitbucket fails to start on Ubuntu 16.04 LTS

I installed Bitbucket 5.3.1 from the terminal, but when I attempt to startup the app it hangs with the following log output: INFO [spring-startup] c.a.s.i.hazelcast.HazelcastLifecycle Updating ...
user avatar
  • 101
1 vote
2 answers
5k views

Git pull from bitbucket using ansible and jenkins

Hi everyone I am new on ansible, I am working on Ubuntu 16.04 and ansible 2.2, how to pull bitbucket repository to remote server using ansible? I have connected to the hosts and able to ping or ...
user avatar
0 votes
1 answer
70 views

Docker from github repository

I wish to use a custom docker image that I'm describing from a Dockerfile. I've uploaded this Dockerfile to my own GitHub page and created a repository for it. I'm trying to upload and test laravel ...
user avatar
  • 984
0 votes
0 answers
244 views

ssh_exchange_identification error only in cron

On our server we run a cronjob that checks our bitbucket git repository for the latest tag. When we run the command ourself it works just fine. For some reason when the cron executes the command it ...
user avatar
2 votes
0 answers
3k views

AH01909: RSA certificate configured for subdomain.subdomain.domain.co.uk:443 does NOT include an ID which matches the server name

I'm having trouble automating a push from Bitbucket to my server and when I check the server log files I see the following error: AH01909: RSA certificate configured for subdomain.subdomain....
user avatar
  • 121
5 votes
1 answer
4k views

how to migrate all repos from gitlab to bitbucket

My company is evaluating bitbucket as our central VCS. We currently use gitlab 7.13.4. We have looked for an automated way to migrate all of our gitlab repos into bitbucket but my searches have come ...
user avatar
  • 3,620
4 votes
3 answers
6k views

Trigger Jenkins job from Bitbucket Pull Request

There are various ways to trigger a Jenkins job from an SCM like Bitbucket, but what I want to do specifically is trigger a build using the branch that is the source of the Pull Request. Up to now, ...
user avatar
1 vote
1 answer
173 views

git pull over ssh gives wierd errors

This is my setup. My git repository is in bitbucket I have created keys on my remote aws ec2 server and kept it in ~/.ssh folder I then add the key via the ssh-agent on my remote server Updated ...
user avatar
  • 115
-1 votes
1 answer
727 views

How to add many projects in to single git repository? [closed]

I want to add two existing projects into single git repository. Already I have added one project in to repository now I want to add second project without affecting the first one
user avatar
  • 103
1 vote
1 answer
490 views

How do I get the SSH key of my EB instance so that I can give it deployment access in BitBucket?

I am building a node.js app that is hosted by AWS Elastic Beanstalk. One of the dependencies is hosted on BitBucket. I have specified the Git SSH url in the package.json file and everything works on ...
user avatar
  • 109
0 votes
1 answer
662 views

BitBucket Server Automatic Deployments with PHP WebHook

I've done some research and I'm attempting to reproduce something similar to JONATHAN NICOL's blog post, "Automated git deployments from Bitbucket". UPDATE TO ISSUE I've enabled logging of the ...
user avatar
0 votes
1 answer
476 views

Link a JIRA cloud with local bitbucket server + jenkins

We would like to have an online "JIRA Cloud" account, linked to a local "on server" Bitbucket install. Our IT will not open any port TO bitbucket(but is ok, to allow bitbucket communicate to JIRA ...
user avatar
  • 167
1 vote
1 answer
2k views

Limit ssh access to only one Repo

I'm hosting multiple private repositories on bitbucket. I also have access to a private repository let's call it repo1, on bitbucket which is not mine but we pull from it on a server, let's call it ...
user avatar