Questions tagged [bitbucket]
The bitbucket tag has no usage guidance.
46
questions
0
votes
0
answers
12
views
Get public IP from Bitbucket Pipelines on Bitbucket Cloud
I need to check public IP of each Bitbucket Pipelines container (using Bitbucket Cloud).
Is there any way to do so?
0
votes
1
answer
55
views
I want to connect to my repo via SSH on a remote server, do I need to store my private keys on the server as well?
I'm following these steps to be able to connect to my BitBucket account/repo on a remote server.
I'm a bit confused. I already have a separate pair of keys for BitBucket (i.e. to do stuff on my local ...
0
votes
1
answer
328
views
How do you obtain $KUBE_CONFIG variable for a bitbucket deployment to a Kubernetes instance on Digital Ocean?
So my company has been in the process of moving our backend application hosting from digital ocean droplets to a digital ocean kubernetes cluster.
However when following the bitbucket pipeline guide ...
0
votes
0
answers
28
views
What is the meaning of Attachments size in CodeCloud repo dashboard
What is the meaning of Attachments size and how it differs from the other size?
1
vote
1
answer
306
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 ...
0
votes
1
answer
234
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 ...
3
votes
0
answers
217
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 ...
0
votes
1
answer
258
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 ...
0
votes
1
answer
518
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....
-1
votes
1
answer
518
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
...
0
votes
2
answers
547
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. ...
1
vote
2
answers
2k
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, ...
0
votes
1
answer
2k
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?
...
1
vote
0
answers
370
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 ...
0
votes
1
answer
35
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.
1
vote
1
answer
2k
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 ...
0
votes
1
answer
381
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 ...
1
vote
1
answer
7k
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 ...
0
votes
1
answer
810
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 ?
1
vote
1
answer
668
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 ...
0
votes
0
answers
491
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 ...
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-...
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 ...
2
votes
0
answers
181
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. ...
-2
votes
1
answer
375
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 ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
911
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....
0
votes
1
answer
2k
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
...
1
vote
1
answer
1k
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 ...
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 ...
2
votes
1
answer
283
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 ...
2
votes
2
answers
5k
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
...
1
vote
2
answers
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 ...
0
votes
0
answers
104
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 ...
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 ...
0
votes
1
answer
76
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 ...
0
votes
0
answers
273
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 ...
2
votes
0
answers
4k
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....
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 ...
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, ...
1
vote
1
answer
216
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 ...
-1
votes
1
answer
736
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
1
vote
1
answer
517
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 ...
0
votes
1
answer
714
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 ...
0
votes
1
answer
499
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 ...
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
...