Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitbucket]

A source control system and git hosting site from Atlassian.

0
votes
0answers
14 views

Pull request in TeamCity (bitbucket)

My problem is pretty simple, but I cannot find any good solution to my problem, could you help me ?? I have two branches: master, release. Sometimes I have a situation that release has some bugfix ...
1
vote
0answers
31 views

Prevent new jenkins job scheduling builds for previous branches

I have a job set up to build when a change is pushed to Bitbucket. The first time the job runs, it'll get kicked off by a new push. The log will then state that it's seen X number of branches in the ...
3
votes
2answers
44 views

How to use Jenkins to manage a repository from Github with a submodule from Bitbucket?

For my Jenkins build, I need to manage a Github repository to automate building a project. However, the issue is that this repository needs to pull a submodule from Bitbucket. This requires two ...
1
vote
1answer
1k views

Jenkins shows “No changes in any of the builds.”

Description Jenkins job was made and configured to build release branch which already existed and had changes on it before first build. Job also monitors for push on BitBucket and starts building if ...
3
votes
2answers
56 views

Deploy two independently hosted services in production at once without any downtime

I have two different services. Let's say Service A and Service B. Service B is dependent on Service A. Both code bases are hosted in separate repo in Bitbucket and code bases are maintained by ...
3
votes
2answers
2k views

Trigger jenkins pipeline job with Bitbucket hook

I'm missing something obvious here. Is there no way to trigger a Jenkins scripted pipeline job via Bitbucket hook? There's a bug out about it but it's been around for years with apparently no fix. ...
3
votes
1answer
249 views

How to bind ports for docker container in bitbucket pipelines?

I'd like to test an application using bitbucket pipelines with a custom docker image running some services. I have a dev docker image which runs all the services I need in order for tests to pass. ...
0
votes
0answers
80 views

CircleCI Workflow didn't show up when trigger's been defined

In the config.yml, I have one job "build" and one workflow "testprod", in which I'd like to run the job "build" every minute. That's what my config.yml looks like: version: 2 jobs: build: ... ...
4
votes
1answer
1k views

Is it possible to show a code coverage badge in bitbucket repositories?

In github it is possible to show a code coverage button. Is this possible in bitbucket as well? https://github.com/dwyl/repo-badges Attempts This site was found https://bitbucket.org/site/master/...
2
votes
1answer
43 views

How to update all Bitbucket Repository Issues at once?

Background: There are multiple Bitbucket Repository Issues (BRI). If an issue needs to be edited then an edit button could be clicked and several items, e.g. title and priority could be changed. This ...
7
votes
1answer
877 views

Jenkins & Bitbucket; cancel previous build if new commit made to same branch?

We have Jenkins running unit tests when commits are made to our repo in Bitbucket. This is controlled by the Bitbucket Plugin, ie via a Bitbucket webhook. Currently, if a commit is made to Branch A ...
1
vote
1answer
11 views

Is is possible to configure settings in Bitbucket globally?

It is possible to configure settings per repository in Bitbucket. Would it be possible to configure settings globally? There are more than 30 repositories at the moment and I would like to avoid that ...
4
votes
2answers
722 views

How to close a branch by default after a pull request has been merged in Bitbucket?

By default a branch will remain in Bitbucket when a Pull Request (PR) has been merged. How to ensure that a branch will be removed after a PR has been removed? When the option is enabled then the ...
1
vote
1answer
278 views

Is it possible to create a robot account in bitbucket without creating a new email account?

Introduction According to this article a user account could be given to a robot for Continuous Integration purposes. Method The IT department created a new email account, this was used to login to ...
7
votes
2answers
318 views

how to automatically create a subdomain for every pull request

Background I got a team of untechnical QA's who have to do testing on iOS/android apps for every Pull Request (PR) that gets created by my backend team. Question This is what I want to do: ...
2
votes
1answer
71 views

Proper mapping for service architectures, Docker and BitBucket mapping - how do you do it?

With Atlassian BitBucket, you can have: Projects, which incorporate.. Source code repositories. Now, you could have a microservices with more than just one codebase and need therefore more than just ...
-2
votes
3answers
152 views

What approach should I follow for adopting continuous integration?

I have a WAMP server which hosts a Django application by using a Windows server. Currently I am deploying everything manually. Now I want apply Continuous Integration concepts to an existing ...
4
votes
2answers
978 views

Jenkins deployment key is not associated with the repository

Using jenkins to pull from bitbucket repository, I got this error: git@bitbucket.org:source/source.git +refs/heads/:refs/remotes/origin/" returned status code 128: stdout: stderr: repository ...
2
votes
3answers
859 views

Bitbucket Pull Request Builder Jenkins job is not getting invoked

I have enabled web hooks pull request in Bitbucket like below - And my Jenkins job configurations are as follows - Bitbucket hooks are getting invoked as soon as I create pull request but Jenkins ...
4
votes
2answers
4k views

Jenkins Pipeline and stash Pull Request Builder not working on PR create/update

Below is the requirement needed to achieve using the Jenkins Pipeline and i am new bee into Jenkins Pipeline. After completing development work and pushing his changes to Bitbucket the user creates a ...
2
votes
1answer
81 views

Jenkins Testing PR's - allowing broken builds

I have a very large codebase that currently takes ~30 minutes to build via Jenkins. It's connected to our Source control/review system (Let's just say GitHub for now) so that every PR automatically ...
2
votes
4answers
328 views

Bitbucket Webhook plugin for Jenkins - differentiate between branches

We use Jenkins and have the Bitbucket plugin installed. We've got multiple repos and use webhooks for lots of jobs coming from our foo repo. No problems there, the jobs go off without a hitch. Now ...
6
votes
1answer
634 views

What are best practices of deploying docker-compose using Ansible?

Ansible is used to deploy docker-compose on a system and subsequently start the container. When ansible runs from the local system, the docker-compose file is deployed using Ansible. When the code ...
6
votes
1answer
183 views

How can I automatically post Codefresh build results to pull requests in Bitbucket?

I have a BitBucket Cloud repository with a WebHook to trigger Codefresh builds on Pull Requests. I would like the build results to appear as comments on the PRs, similar to the way Travis integration ...
9
votes
2answers
3k views

Git & Jenkins: get latest green commit on branch

We're just starting to push for CI-CD and as a baby step we're going to try updating a stack with the latest green develop once every couple of hours. I am fairly new to Git/Bitbucket, and can't ...
10
votes
3answers
2k views

Is running docker-compose not supported in BitBucket?

Aim The aim is to run docker-compose in BitBucket pipelines Attempt bitbucket-pipelines.yml image: docker/compose:1.12.0 pipelines: default: - step: script: - docker-...
4
votes
1answer
428 views

Why does `docker-login` fail in BitBucket pipelines?

Aim to login to a private docker registry using BitBucket pipelines. Attempt Based on this documentation the following bitbucket-pipelines.yml: image: docker:latest pipelines: default: - ...
10
votes
3answers
1k views

What are best practices for using Ansible Vault on public CI's and Source Control Repositories like BitBucket?

Introduction On a private CI's and Source Control Repositories like Gitlab-ce it is possible to copy an ~/.vault_pass.txt to the server and let it use by the CI to decrypt files using Ansible. ...