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.
8,430
questions
0
votes
0
answers
12
views
What to do in PhpStorm because of bitbucket ssh key rotation?
https://bitbucket.org/blog/ssh-host-key-changes#:~:text=To%20verify%20which%20host%20key,key%2Dchanges%20for%20more%20details.
We highly recommend that you immediately switch to using the newer
ECDSA ...
0
votes
1
answer
15
views
How can I deploy only modified files in bitbucket pipeline
I have a bitbucket pipeline code to deploy when the PR to master is merged. The only problem is that everytime the pipeline deploys all the files irrespective of whether they have changed or not. How ...
1
vote
1
answer
24
views
Bitbucket pipeline runner issue
I have a bitbukcet pipeline runner in my kubernetes cluster
kubectl get po -A --watch
NAMESPACE NAME READY STATUS RESTARTS AGE
...
0
votes
0
answers
33
views
bitbucket ssh requires [email protected]'s password
So I generated a ssh key and added it to bitbucket, then when I "ssh -T [email protected]" in the terminal, it requested the "[email protected]'s password".
This problem did not ...
0
votes
0
answers
15
views
Is there a way to find the log ERROR patterns in Bitbucket code repository
I have a bitbucket repo that contains the Java codes and the developers have embedded different patterns of the logs [ERROR, CRITICAL, INFO] in the code to be thrown when a specific exception/issue is ...
0
votes
0
answers
18
views
Bitbucket pipeline changesets glob pattern for master branch is always skipping
We have a Bitbucket pipeline with a schedule for our master branch, but we only want to deploy if we actually have changes on the master branch. We have tried the changesets as shown underneath, where ...
-2
votes
0
answers
39
views
Can I use GitHub Actions to raise PR in external source control system? [closed]
Is it possible to use GitHub Actions to detect if a PR has been raised and then raise another PR with the same changes in another source control system, like GitLab, Azure DevOps, Bitbucket, etc.?
-2
votes
0
answers
39
views
Git merge not merging properly [closed]
I have two branches.
Branch develop and Branch feature.
Branch feature is branched out from Branch develop and work was done on that branch. Also on branch develop some work was done.
Now I am trying ...
-1
votes
0
answers
22
views
Git Merging Issue in Jenkinsfile in all branches
I have three branches dev, qa, uat and prod in bitbucket. Each have their own Jenkinsfile and each files varies based on the credentials they use.
The strategy decided by the team to use, is that ...
0
votes
0
answers
10
views
while merging bitbucket pull request with squash how to add PR owners name instead of merger?
In Bitbucket when any manager or lead merges the PR with squash merge it adds the merger name on the merge commit. instead, can we do some workaround or proper way so the PR owner name appears on code ...
0
votes
0
answers
16
views
github large file issue while trying multiple commit
I am using GitHub and BitBucket, both as remote origins. The repository which is on GitHub does not have any node_modules folder. Everything is working good on BitBucket branches, the issue is only ...
0
votes
0
answers
9
views
bitbucket cloud no longer able to show files / commits
I am having a lot of stability issues using bitbucket cloud. I am looking at error messages that it's having trouble showing folders/files/commits, pretty much everything is falling apart.
I opened a ...
0
votes
1
answer
21
views
Change Bitbucket's Private repo to Public repo using RESTAPI
I want to convert few of my private repositories to public repo.
import requests
workspace = ''
base_url = 'https://api.bitbucket.org/2.0/'
session = requests.Session()
session.auth = (username, ...
0
votes
0
answers
13
views
Can't sign in to Bitbucket Cloud account in Xcode. error: "Your account or password is incorrect"
I clicked "Create a Password on Bitbucket Cloud" and it generated a 36-char alphnum pw.
Sign in fails with anything I put in Account or Password.
I don't know what Xcode means by "...
-3
votes
1
answer
25
views
Cannot find "Personal settings" in Bitbucket Support > Create an App password [closed]
Step 1. of Bitbucket Support says to "Select the Settings cog" but I can't find it.
-1
votes
0
answers
18
views
Apple Xcode integration with BitBucket
I’m having trouble using Xcode 15.0.1 with BitBucket. It used to work fine before BitBucket changed from password authentication to SSH. I’m able to commit my changes in Xcode and push them to ...
0
votes
0
answers
21
views
My Bitbucket pipeline never stops after completing the integration test
I'm running integration testing in the bitbucket pipeline. To run the integration test I need to run the project first then run the karma to test my test cases. But after the test is completed my ...
2
votes
0
answers
30
views
Installing private node package from Bitbucket changing its codeline in package.json
I have a private node package on bitbucket which is loading with an app-password in package.json, so it will also work with deployment pipelines:
{
"dependencies": {
"my-package&...
0
votes
0
answers
12
views
Bitbucket Server Plugin cannot be built because transitive dependency is in no repository
I try upgrading one of our plugins to the new API version of Bitbucket and a transitive dependency cannot be found in any repository. Googeling didn't help yet.
[ERROR] Failed to execute goal on ...
0
votes
0
answers
65
views
Git fails to add file change
Some weeks ago, I had quite an unusual issue with Git.
Here's the error message when i try to push:
POST git-receive-pack (chunked)
remote: error: inflate: data stream error (invalid stored block ...
0
votes
0
answers
20
views
SSH key pairs for bitbucket - can pull but not push
I use Bitbucket for all my repos and mostly my master source is on a local Windows machine - I have no problem with pushing and pulling in that context. However I have one project where I am coding on ...
-2
votes
0
answers
28
views
Set up BitBucket pipeline for Jest tests
I want to run Jest tests on Bitbucket pipeline.
I have prepared the current .yml file
image: node:16
pipelines:
default:
- step:
name: Run on Test env
deployment: Test
...
1
vote
1
answer
40
views
BitBucket showing Azure DevOps build as unsuccessful when build passed with warning
We have a repo in BitBucket and are using pipelines in Azure DevOps to build the repo. In BitBucket we can see the status of the last build from the pipeline on the pull request and we have branch ...
0
votes
0
answers
24
views
How can I search for specific text in a repository using the bitbucket API?
I am trying to look for specific text in a repo but how can I achieve this with bitbucket server using the bitbucket version 1 API?
I am a bit limited with the advanced search feature on the bitbucket ...
0
votes
0
answers
14
views
How to get bitbucket webhook payload to Jenkins
I've setup a bitbucket webhook which triggers if there are any PR opened
I'm successfully able to get the Jenkins job triggered but I'd want the payload from the request in my freestyle Jenkins job
I'...
1
vote
0
answers
25
views
How to get bitbucket payload in Jenkins triggered by webhook
I've setup a bitbucket webhook which triggers if there are any PR opened
I'm successfully able to get the Jenkins job triggered but I'd want the payload from the request in my freestyle Jenkins job
I'...
-1
votes
0
answers
20
views
Bitbucket : Invalid two-step verification code
If you face this issue and you are using authenticator app for 2-step verification
then follow the procedure
Open your authenticator app
Go to settings
Tap Time correction for codes
which sync your ...
0
votes
1
answer
32
views
Accessing BitBucket Variables directly inside a Python Script
I've set up some Repository Variables (also tried deployment variables) that hold some secrets for DB connections.
I would like to use these variables directly in my .py file, trouble is I have no ...
0
votes
0
answers
22
views
How to get a list of Bitbucket repositories user permissions
I'm working to obtain a detailed list of the user permissions of Bitbucket repositories I have more than 100 repositories and also 80/90 users ...
I tried with API Rest of Bitbucket but I don't find ...
-4
votes
0
answers
24
views
Are all previous commits visible in a pull requests? [duplicate]
I created a branch for a task I need to do. I realized I committed some bad things in my work but I did not create a PR yet. My question is: can I remove the commit with the mistake from the PR before ...
0
votes
0
answers
15
views
Bitbucket private repo npm throws a new error
Something was changed lately from npm and npm install started giving us this error:
npm ERR! Cannot convert undefined or null to object
Then I found that the my private repo from package.json was ...
1
vote
1
answer
30
views
BitBucket CI/CD pipeline - changing file permissions in a test fails in bitbucket pipeline
I have a test to make sure the application provides a proper error if it can not access a file. To do so, the test changes the file permission, that it runs the application and checks the error.
...
0
votes
1
answer
107
views
Deploy Container App from Bitbucket to Azure
I have a Bitbucket repository which builds my code with a pipeline and pushes a docker image to Docker Hub. So far, so good. Now I want to continues deploy the latest image to my Container App on ...
0
votes
0
answers
25
views
What is "The build status' unique key" when attempting to get build status?
I am currently attempting to extract the build status of a repository, but have hit the wall of not knowing what the build status' unique key is. I have looked around and can't find the answer.
The ...
0
votes
0
answers
44
views
bitbucket Pipelines - aws: command not found
I have a pipeline to AWS S3. My build fails for the following reason.
./devops/scripts/deploy-production.sh: line 35: aws: command not found
In my deploy-production.sh script at line 35 I have the ...
0
votes
0
answers
24
views
Bitbucket API call to resume/rerun a pipeline given the UUID
I found this API call for stopping a pipeline given the UUID:
The Bitbucket Cloud REST API (atlassian.com)
curl --request POST \ --url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{...
0
votes
0
answers
49
views
psql hangs on a simple select or immediately after that
I am using bitbucket pipeline to run psql migration. Migration script is hangs on a simple select or immediately after that. Here is my bitbucket pipeline step
- step:
name: Run miggartion
...
0
votes
1
answer
47
views
How to put a trigger in a stage step in bitbucket pipeline
Before use stages, I had put the trigger inside the step:
- step: &deployment-prod
name: Deploy
trigger: manual
script:
- echo "production deployment script"
...
0
votes
0
answers
10
views
Failed to trigger build: Couldn't read commit while using the bitbucket self-hosted-server
Hello I am having bitbucket self hosted on the premises and i want to deploy the code to the firebase hosting using the cloud builds. I successfully connected to the host and fetched the repostiories ...
0
votes
1
answer
31
views
A Specific Image in Our README Does Not Appear in BitBucket Why?
I have an Image hosted in our BitBucket repository and when I got to BitBucket to look at the code it does not render, though other images do. The README codeline that has the image is this:
<img ...
0
votes
0
answers
25
views
Is there any Bitbucket API that can give the list of commits of a user without specifying a project or branch?
I am trying to get all commits of a user in Bitbucket. I couldn't find any documentation related to it. I was wondering if anybody else had the same use case.
I am looking for something like this:
...
0
votes
2
answers
93
views
Retargeting a branch
I’m new to git. I have a master branch that has several branches off of it, such as branch1, branch2, branch3, etc. I checked out a feature branch off of branch1, and made some changes. I haven’t ...
1
vote
1
answer
77
views
Pipeline - Bitbucket -> Digital Ocean container registry -> deploy
I need to make pipeline on Bitbucket repository which triggers on git push. This pipeline should create docker image push this image into the Digital Ocean container registry and then create Docker ...
0
votes
0
answers
23
views
How to publish android library to private repo in Bitbucket
Is there any latest reference able to have for reference on how to able to upload android library to private repo in Bitbucket? There information that I have found is quite old and not compatible with ...
0
votes
1
answer
21
views
How to create a new Bitbucket pull request via API?
I'm trying to create a pull request on Bitbucket Server via Rest API, following this documentation. No matter what I try, I get a (400) Bad Request. error. I found this answer and used the body text ...
0
votes
1
answer
30
views
How to Retrieve Lines of Code Changed in a Bitbucket Pull Request using atlassian-python-api?
I'm working on a project and using the atlassian-python-api to interact with Bitbucket. I'm trying to retrieve the lines of code changed in a pull request, but I'm unable to find a specific function ...
0
votes
0
answers
34
views
stuck running playwright test inside docker container during bitbucket pipeline
I have an pipeline on bitbucket that use atlassian/ssh-run:0.4.0 to connect my release server and run cypress tests in docker container.
I would like to convert my pipeline to playwright but when I ...
1
vote
2
answers
77
views
spring-boot:build-image fails in BitBucket Pipelines with authorization denied by plugin pipelines
Trying to build a Spring Boot 3.1.5 container image using mvn spring-boot:build-image within a BitBucket pipeline. It fails with the error:
authorization denied by plugin pipelines: -v only supports $...
1
vote
0
answers
45
views
Delete tags from Bitbucket (Git) repository once and forever
I am having a hard time deleting some tags from Bitbucket. I created them during a testing phase with the assumption I could delete them, but I'm failing to do so.
Here's the steps I took to delete ...
0
votes
0
answers
28
views
How to get bitbucket to show the diff in a PR in a more sensible manner
I had a PR out when I realized I forgot a 'minor' detail that ended up being a much larger amount of work. My original PR got approved while I was making those changes, so I had the bright idea to ...