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.

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

How to add version information to a git repository which is distributed as ZIP archive?

I'm looking for best practices when it comes to adding version information to the content of a ZIP archive which is currently created from a git repository by bitbucket (git-related files are removed ...
0
votes
0answers
6 views

Bitbucket pull request approval to Master branch causes Jenkins pipeline to automatically build

Bitbucket pull request approval to Master branch causes Jenkins pipeline to automatically build. The desired operation is for Jenkins to NOT to be triggered when a pull request is approved. I want to ...
0
votes
0answers
21 views

version control on a deviation of a read-only git repository

I have read-only access to a project 1 git directory. I would like to set a git directory that handles the changes and addition of only a few subfolders in the project 1 and would call it project 1.2 ...
-1
votes
0answers
12 views

How to perform reverse merge in AWS CODECOMMIT? [closed]

There is an option in bitbucket which helps to do auto reverse merge with DEVELOP branch whenever there is a commit in RELEASE branch. Do we have same functionality in AWS CODECOMMIT ?
0
votes
0answers
9 views

NET_ERR responded from Jenkins server when Webhook sends request to Jenkins server to do the build

I have Bitbucket Cloud, Webhooks is configured to connect to Jenkins server. On Jenkins server, Bitbucket Branch Source plugin, Git plugin are both installed. When add Webhooks at Bitbucket cloud ...
1
vote
1answer
20 views

How delete a local branch after merging it through a pull request? git-flow, bitbucket, sourcetree

My environment in local: Git connecting with Bitbucket Sourcetree with git-flow Steps I create a feature x in Sourcetree then I add the code. I do a commit including the option to create a pull ...
0
votes
0answers
22 views

How to remove secrets from bitbucket [duplicate]

I've already remove commit from Bitbucket history using this commands git reset --hard HEAD~1 git; push origin HEAD --force; But I can access data via link in browser. What can help to remove or ...
0
votes
0answers
14 views

How to use trigger a Jenkins Build based on Bitbucket commits?

My use case is that I want to trigger a Jenkins Build when something is pushed to a Bitbucket repository. Currently, I'm "faking" that by using Jenkin's SCM polling feature with a timer of once per ...
0
votes
0answers
9 views

Unit Test getting failed in bitbucket pipeline whereas it is working in Local Environment

Unit Test (which is written for mocking part files by uploading files from test resource folder) getting failed in bitbucket pipeline whereas it is working in Local Environment. Below my test case @...
0
votes
1answer
13 views

Bitbucket CodeDeploy integration: This app is hidden from public view because it no longer meets the requirements for Atlassian Marketplace

I am trying to deploy(continuous deployment) my bitbucket repository using AWS CodeDeploy and following the blog by aws https://aws.amazon.com/blogs/apn/announcing-atlassian-bitbucket-support-for-aws-...
0
votes
2answers
26 views

How do i can add master code to development branch

I got some git-flow issue. I have a master and a dev branch. My dev branch has updated code and I made a feature branch from it. Now I got a situation that I need same master code in my existing dev ...
0
votes
1answer
11 views

status change missing from bitbucket comments

Since bitbucket is ending support for mercurial, I am working on a program to automate the move of the projects to sourceforge, which (still) supports mercurial. Using some sample API 2.0 code to ...
0
votes
2answers
25 views

How do i create an ignore rules exception for a specific folder in our Git repository?

At the top level of our project folder hierarchy, we've created the standard ignore rules to exclude our compiled exe's, dll's, etc. As these rules are specified at the top level of our repository, ...
0
votes
1answer
9 views

Image not found: 404 Client Error: Not Found: aws-ecr-push-image atlassian pipeline

I'm using the Atlassian pipeline to build and push the docker image to AWS ECR but build is getting tear down with following message. INFO: Executing the aws-ecr-push-image pipe... INFO: Found ...
1
vote
0answers
16 views

How to get the creation date of a tag in BitBucket Server (aka Stash)

Using BitBucket Server (aka Stash) version 6.3.0 I am trying to filter tags of a repository according to a specific date range., but can't find the creation date of a tag. From the API Docs, using ...
0
votes
1answer
26 views

How to make Cloud build Trigger to trigger only on push command?

I'm using REST API to create triggers in Cloud build. Issue 1) I created a trigger for branch push, as soon as it got created, it triggers for all the branch and started building. (more than 300 ...
0
votes
0answers
10 views

Frontend / backend synchronization during deployment

Currently, I have two separate Bitbucket repositories for Frontend / backend respectively. Each repo has its own Bitbucket Pipelines configuration which works independently from each other. Sometimes, ...
1
vote
1answer
22 views

SonarQube - Configure Pull Request decoration with parameters

I'm using SonarQube 8.1 (Developer Edition) and Jenkins to analyse Maven projects which source code is hosted on Bitbucket. I'm using the "Pull Request Decoration" functionality and it's working well....
0
votes
0answers
6 views

[Bitbucket4.8.3 to 6.9.0]-Updating repository folder from old backup at /var/atlassian/application-data/bitbucket/shared/data/repositories/

I want to simply update/Move/copy my repository folder from bitbucket 4.8.3 to bitbucket 6.9.0 at /var/atlassian/application-data/bitbucket/shared/data/repositories 1.) what i need to check? 2.) How ...
0
votes
1answer
22 views

Network is unreachable when I clone my bitbucket repo in private AWS instance

I am trying to clone my bitbucket repository into my private AWS instance but it is giving me a 'network is unreachable' error. I have successfully established a connection to the private instance ...
0
votes
1answer
32 views

Intellij-idea access Bitbucket with several user names

I am working with bitbucket repository and getting the following error from intellij idea: Remote URL test failed: remote error: Not licensed You do not have permission to access Bitbucket. Please ...
1
vote
1answer
30 views

Solution for Bitbucket -> pipeline that can build different OSes -> deploy to hardware

Our code is hosted in Bitbucket, originally we wanted to use Bitbucket pipeline to do the build. Since Bitbucket pipeline does not support building windows application, we need to find alternative ...
0
votes
1answer
13 views

How do I get the target branch?

How do I get the target branch of a pull request in Bamboo (version 6.8.0)? The pull request was created on Bitbucket (version 6.8.0). I need the target to pass to Sonarqube, but I can't find a ...
0
votes
0answers
28 views

Cannot download from Marketplace after changing properties file BitBucket

After a proxy edit in BitBucket, I don't get it done to download stuff from the marketplace at the BitBucket application. To start with, I've got two servers. One server thats running Plesk and the ...
0
votes
0answers
29 views

I have an R package hosted in a private bitbucket repo. Can I share the package with users who don't have access to the repo?

In other words, is there a way that a user can employ devtools::install_bitbucket() or devtools::install_git() to install the package on their local machine without me having to give them access to ...
0
votes
1answer
30 views

Pull/Merging in IntelliJ Idea: “Error: Skipped… No default update path.”

I'm a junior so this question may be foolish. I refactored a program in IntelliJ and now I'm trying to push it up to the main repo on BitBucket. I'm using Mercurial for VCS. I was able to commit the ...
2
votes
1answer
25 views

Should I mirror a bitbucket repo that is behind a company VPN?

I work for a company (C for coders) that is contracted by another company (H for host) to write some code. The host company has an on-premise bitbucket instance that is behind their VPN and is ...
1
vote
1answer
26 views

Where do I set the Nexus credentials for an Azure DevOps pipeline on a Maven project hosted on Bitbucket?

I'm trying to create a simple Pipeline for a Java project that uses Maven. The .jar dependencies of my project are all hosted on an online Nexus that is password protected. The sources I am building ...
2
votes
0answers
20 views

Trigger Bitrise CI feature branch build on JIRA issue transition to QA lane

I am using JIRA, Bitbucket and Bitrise.io for mobile CI/CD. JIRA is integrated to Bitbucket, so each JIRA issue is linked to its feature branch in Bitbucket, for example: Issue - APPLE-512: Change ...
0
votes
0answers
13 views

Pipeline flow get stuck at “Notifying stash” after finishing all stages

All our CI projects are getting stuck in the Notify stash. eventually, it's passing, but we're trying to understand why it takes so much time. example: 17:03:01 Notifying Stash at "https://bitbucket" ...
1
vote
2answers
30 views

How do I create release branch from master, excluding particular branch which is already merge in master

I have branches A, B, C, D which were merge in my master, I want to create release branch which include A, C, D and I want to exclude B branch changes, so that my release branch contains only A, ...
1
vote
1answer
27 views

git issue - Permission denied (publickey)

I haven't changed the SSH key for the bitbucket for a while. All of sudden, it stopped working and I am seeing the following error from my source tree and command line. Pushing to ssh://[email protected]
1
vote
1answer
24 views

Link to specific line(s) of code in stash / bitbucket?

With github we can use URLs of the form www.github.com/username/repo/filename.c#L20-L45 Note the #L20-L45 at the end which highlights the 20th to 45th lines of code when the page loads in the ...
1
vote
1answer
20 views

Bitbucket Pipeline Tags Trigger Not Working

I've been trying to get this pipeline to trigger with all sorts of different formats and this appears to be the correct one, but I must be missing something because it's still not working. I'm just ...
0
votes
0answers
23 views

How do I squash all the commits (rebase) in git (on bitbucket) [duplicate]

I have been working on a private Bitbucket project with git, I commit and push my changes liberally. Now Im ready to make the project public and share it and I would like to rebase all my changes so ...
1
vote
1answer
23 views

Is it possible to restrict PR/MR creation to the branch author only?

Is it possible to configure such a restriction that a PR/MR from a branch can be created only by the branch's author? I am interested in all possible solutions for github, bitbucket and gitlab.
-1
votes
1answer
62 views

Why in my project git file size very large?

I use git for my project. We develop this project about 2 year. Now this .git file is 908,3 MB. I think this size not normal so i want to decrease file size of git. So how to fix them? thank you.
0
votes
0answers
28 views

How to delete a big file from an old Git commit?

I'm migrating a repo from BitBucket to GitHub with this script: git clone --mirror [email protected]:my-username/my-project.git my-project cd my-project git remote remove origin hub create --private ...
0
votes
1answer
22 views

How to use Bitbucket webhooks to interface with a local Jenkins server? I'm getting a 404 error

I'm having trouble getting a push to a bitbucket repo to trigger a multi-branch-pipeline build on my Jenkins server. My Jenkins server is running on a public IP address and exposed via my firewall on ...
0
votes
1answer
21 views

How can I upload adk into the Bitbucket Downloads using Bitbucket Pipeline?

I am developing an android app and it is managed on the Bitbucket. I tried to use the "Pipeline" feature of the Bitbucket. I found some references for it. My first step is very simple. I just want ...
0
votes
0answers
9 views

How to copy files Dev Ops Artifacts folder to Bicbucket Repository

Iam using DevOps to release D365 Solution zip files from one instance to another using Export and import task in Dev Ops so once Import is done i want to Copy Webresources files from solution zip to ...
1
vote
0answers
29 views

Is there a way to make GIT follow renamed files through history

I have committed some files to the GIT repository. When I was submitting different versions of the same file, a few files had different names. I submitted files like Task_1.5_FinalSuburbsProcessing....
0
votes
0answers
7 views

Download a file from bitbucket feature branch using BitBucketAPI

HI I am trying to download a file based on the bit bucket branch selection . I am able to download the file from ci or master branch , but unable to download from feature branch. Can you please help ...
0
votes
0answers
21 views

how to update forked private repository in bitbucket

I am working with a developer Group. We have a private repository in Bitbucket . I was forked this repository but when other developer push this repository i cant get updated code on my repository. ...
0
votes
0answers
29 views

Why is Bitbucket diff showing diffs outside of the commit list?

Unfortunately I can't show the example here, but basically I started working on this project I got passed from a coworker. I'm the only one who's made any commits to the repo since I started working ...
0
votes
0answers
10 views

How to process curl request with transferring file on Python

Can someone advice how I can to process curl request with transferring file with using Python. The aim is with POST curl request to transfer file on Bitbucket. My curl request looks like: curl -u ...
0
votes
1answer
30 views

How to update local checkedout PR code with the latest commits into PR?

I have checked out a PR into my local. Now the PR got updated, how do I update the local branch with the latest commit. When I try to do git fetch upstream git pull origin all of them are saying the ...
1
vote
1answer
118 views

Trigger Jenkins Job from Bitbucket on Pull Request

Hoping to gather insight from professionals. My end goal is to trigger a jenkins build whenever a bitbucket pull request happens. If anyone could give me an ELI5(explain like I am 5) answer it would ...
0
votes
0answers
12 views

sonar4bitbucket No open pull requests with source branch 'bugfix/123' found. No analysis will be performed

Hi i am using bitbucket and aws code Build for sonar analysis i,e for bitbucket pull request decoration the problem is that when new pull request is generated sonar comments on pull request but when ...
1
vote
1answer
37 views

Git weird conflict issue?

BASE_API=http://127.0.0.1/transport // <<==== (in red indicating delete) <<<<<<< BASE_API=http://127.0.0.1/transport ======= BASE_API=http://127.0.0.1/transport >>>&...