8,480 questions
-5
votes
0
answers
28
views
sonar scanner not working says its not a file or directory | sonarqube setup on local VM
I am learning CI/CD pipeline I made a custom Bitbucket runner on my local VMware-based VM and i set the socarqube server and scanner both on the VM but still it's not working it says it's not a file ...
1
vote
1
answer
74
views
Update base branch before merging a PR [closed]
I have been using GitHub, where I had an option of setting a branch rule to ensure that the base branch is up-to-date before merging a PR into the destination branch.
In Bitbucket, I do not see any ...
0
votes
0
answers
163
views
Bun install fails for private Git repo even with .npmrc and env variable for Bitbucket token
I'm trying to install a private Bitbucket Git repository as a dependency in my project using Bun v1.2.10 on Windows.
My package.json dependency:
"dependencies": { "@repo/sdk": &...
1
vote
0
answers
95
views
Changing more than one line in a Bitbucket pull request
Bitbucket recently added a new option to their pull request management to add suggested changes in a pull request. However a comment is set on a specific line, which is fine unless your change affects ...
0
votes
0
answers
20
views
Git - nullSha1: contains entries pointing to null sha1 for submodule
facing this issue while migrating from bitbucket to github the repo any suggestions on how to fix
Simmilar structure repo migrated succesfully but only one repo is failing
0
votes
0
answers
33
views
[Jenkins][Bitbucket][jobDsl] pipelineJob not triggers when PR merged
I have bitbucket repo with seed job that generates multibranch pipeline for PR validation and some amount of pipelineJobs with jobDSL.
multibranch pipeline uses groovy file from repo as definition.
...
0
votes
0
answers
105
views
Bitbucket pipeline intermittent failure: Exceeded build time limit
We have a Bitbucket pipeline that runs frequently to do some Cypress tests and normally completes in 2 minutes. However, sometimes it appears to just hang and hit the build timeout (max-time currently ...
0
votes
1
answer
158
views
What's the difference between using git rebase + "git merge --ff-only" vs "git merge --no-ff"
In bitbucket, for merging PRs we have multiple choises as you can seem from below:
Merge Options
and I don't think I completely understand the differences between the last 2 options.
At the moment I ...
0
votes
1
answer
32
views
Get the file from repository in BitBucket via API with AppPassword - .NET
I need to get the file from repository via api from bitbucket using the appPassword.
I generated the appPassword with read and admin for projects and repository and try to use it in my .net ...
-1
votes
2
answers
110
views
Git: how to remove a huge number of commits (318) [closed]
Passwords were stored in a commit (in a passwords directory created in this commit) and this directory was deleted only 319 commits later. For this reason, I need to remove 318 commits in a total of ...
0
votes
1
answer
91
views
Getting "fatal: bad revision" when trying to unsquash a commit in Git
Regarding How to unsquash a commit? I want to do the same - unsquash a commit.
For the moment I had the same idea to simply delete the current commit and cherry-pick the squashed commits of it.
...
0
votes
0
answers
23
views
Integration between Bitbucket and Azure DevOps Server
I have a project repository in bitbucket. I want this repo to be triggered synchronously in azure devops pipeline, that is, when I make a change and commit it to bitbucket, azure devops will detect ...
0
votes
0
answers
125
views
nifi 2.3.0 fails to connect to bitbucket using GitHubRegistryClient
I'm setting up nifi 2.3.0 with GitHubRegistryClient to by-pass the nifi registry component.
When configuring GitHubRegistryClient:
I used the bitbucket repo https clone url
I created PAT(Personal ...
0
votes
0
answers
25
views
Output file not getting created/saved - BitBucket Pipeline
This is the definition from my Bitbucket YML file
- step: &check_code_quality
name: Run Quality Check
script:
- echo $BITBUCKET_COMMIT
- git fetch origin --no-tags --depth=100 &...
0
votes
4
answers
105
views
Delete Local Development Branch Automatically after Merge on GitHub
I am trying to figure out a way that after my local development branch has been pushed up to GitHub, or BitBucket, or whichever VCS, and a pull request has been approved, when that branch is merged ...
-1
votes
1
answer
36
views
How do I convert #issue-id into link to my favorite issue tracker in commit message in a Bitbucket Data Center UI?
My company uses bitbucket data center but we are using our own issue tracker. We would like to convert text like bug#14 and feature#534 which appears in commit messages into links which leads to our ...
0
votes
1
answer
65
views
How to choose ref branch conditionaly in resources block in Azure Pipelines?
I have a problem with adding resources. Code is stored on BitBucket, authoritation through service connection.
resources:
repositories:
- repository: componentsPR
type: bitbucket
...
4
votes
1
answer
365
views
How to Share a Centralized bitbucket-pipelines.yml (File) Across Multiple Repositories in Bitbucket?
I have multiple repositories in Bitbucket that need to use the same bitbucket-pipelines.yml (which contain the import of an exported bitbucket-pipelines.yml file). Instead of manually updating this ...
0
votes
0
answers
51
views
YAML Script not installing SF CLI
We are trying to use our BitBucket Cloud Pipelines to move code between Salesforce instances and I know that the YAML pipeline script has to install the sf cli but I don't know how to do that.
I have ...
0
votes
0
answers
61
views
How to prevent a Bitbucket build from running on every change in the Bitbucket
I have a repository on bitbucket which initiates a build to run on every change I make to the bitbucket UI like adding reviews, changing description etc. I want the build pipeline to only run when I ...
1
vote
1
answer
70
views
Using CNCF Buildpacks on Bitbucket Pipelines
I'm experimenting with CNCF Buildpacks' pack tool to generate container images in BitBucket pipelines but I'm getting the following error:
ERROR: failed to build: failed to create 'creator' container: ...
1
vote
0
answers
112
views
Setting up a pre-receive hook so that when a pull request is created, if the Jira ticket has a "blocked"
I am using Bitbucket Data Center version 9.4.
My Bitbucket Data Center is directly integrated with my Jira.
Currently, I want to configure it so that when a pull request is created, Bitbucket checks ...
0
votes
1
answer
150
views
Bitbucket pipeline stuck at "Building" when trying to deploy do AZURE Static Web App
For some reason, my pipeline stopped working while I was trying to deploy my static web app on Azure.
pipelines:
branches:
main:
- step:
name: Deploy to test
deployment: test
...
3
votes
2
answers
309
views
How to Validate Bitbucket Webhook Signature Using Secret Key?
I'm trying to set up an automatic deployment when a pull request is merged into the main branch using Bitbucket webhooks.
However, I'm facing an issue with validating the webhook signature using the ...
0
votes
0
answers
60
views
Configure TeamCity to trigger a build when a pull request is created in Bitbucket
I am using TeamCity (version 2024.07.3 - self-hosted) along with Bitbucket (version 8.19.4 - self-hosted). I would like to configure my TeamCity CI pipeline to trigger automatically whenever a pull ...