Questions tagged [bitbucket-pipelines]

Questions related to Bitbucket Pipelines CI/CD.

Bitbucket Pipelines is a Continuous Delivery & Continuous Integration (CI/CD) feature that’s built right into Bitbucket Cloud, from Atlassian. It allows developers to easily automate their workflow of building and deploying their code every time they push code to their Bitbucket repositories.

It run the builds inside Docker Container*.

933 questions
0
votes
4 answers

Bitbucket pipeline mongodb

I'm trying add mongodb on my bitbucket pipeline but I've the following error: Uncaught MongoError: failed to connect to server [localhost:27017] on first connect My bitbucket-pipelines.yml: image: leeduc/pipelines-node-mongo pipelines: …
1fabiopereira
  • 472
  • 2
  • 4
  • 15
0
votes
0 answers

Make parallel_test work in bitbucket pipeline

I get bundle exec rake parallel:spec 8 processes for 56 specs, ~ 7 specs per process /usr/local/bin/bundle:22:in load': cannot load such file -- /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/gems/bundler-1.11.2/bin/bundle…
Chen Kinnrot
  • 19,385
  • 15
  • 74
  • 132
0
votes
2 answers

Check git log with shell script

Simple shell script question. Setting up pipelines in BB and one of the jobs I am porting over is to increment a bower version via some grunt commands. I had this broken up into separate jobs so that it would not auto-run because it bumps the…
isaac weathers
  • 1,254
  • 4
  • 24
  • 48
0
votes
1 answer

Trouble executing lsb-release in a Bitbucket Pipelines docker instance

I have a Bitbucket Pipelines yaml that looks like this: image: python:3.5.1 pipelines: branches: master: - step: script: - apt-get update - apt-get install lsb-release -y - curl --silent…
serlingpa
  • 9,908
  • 21
  • 57
  • 108
0
votes
2 answers

Unable to enable Bitbucket pipelines

I'm trying to enable Bitbucket pipelines in a private repository. I go to "Pipelines" tag in the left menu, and then click on "Enable Pipelines" button. Then, a "wait for it" spin icon appears in the middle of the screen.... and nothing more…
JoseLSegura
  • 3,510
  • 3
  • 16
  • 25
-1
votes
1 answer

How to use a Jenkinsfile for these build steps?

I'm learning how to use Jenkins and working on configuring a Jenkins file instead of the build using the Jenkins UI. The source code management step for building from Bitbucket: The build step for building a Docker container: The build is of type…
blue-sky
  • 45,835
  • 124
  • 360
  • 647
-1
votes
1 answer

What image to use when pushing back to repository in Bitbucket Pipelines?

I understand this documentation https://support.atlassian.com/bitbucket-cloud/docs/push-back-to-your-repository/ but it does not tell you which image you should use for pushing back. Does this mean that any image you use will have git installed on…
-1
votes
1 answer

Bitbucket Pipeline git fetch with public key fails

Wtth help of below article i've setup SSH keys for bitbucket so i can use it in pipelines https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/ When tested on terminal window by entering following command it works fine: $ ssh -T…
Ramesh
  • 127
  • 4
  • 13
-1
votes
1 answer

How to Check-in a file in BitBucket Repository with TFS CI Build Definition?

The situation: I am new to BitBucket. I currently I have a Repository created in BitBucket and I have a TFS CI Build definition with which I have linked the BitBucket Repository through an Endpoint. The TFS CI Build Definition basically downloads…
SRP
  • 697
  • 2
  • 11
  • 29
-1
votes
1 answer

Bitbucket pipelines/Docker : Connection refused

I am trying to configure a bitbucket CI pipeline to run tests.Stripping out the details I have a make file which looks as follows to run some form of integration tests. test-e2e: docker-compose -f ${DOCKER_COMPOSE_FILE} up -d ${APP_NAME}…
Bobo
  • 27
  • 4
-1
votes
1 answer

GIT SCM configuration for bitbucket pull requests checkout using generic Webhook parameters

This stackoverflow page can help you checkout bitbucket pull requests in Jenkins with Generic webhook trigger. Pre-requisites: Jenkins: 1) Installing Generic Webhook Trigger Plugin and Bitbucket plugin in Jenkins 2) Configuring 'Bitbucket Endpoints'…
-1
votes
1 answer

bitbucket ci cd pipelines ssh connection failed

ssh -i ~/home/devops/.ssh/authorized_keys kiran@35.194.42.142 Warning: Identity file /root/home/devops/.ssh/authorized_keys not accessible: No such file or directory. Pseudo-terminal will not be allocated because stdin is not a terminal. …
kiran
  • 11
  • 2
-1
votes
1 answer

Continuous delivery of a docker container to Google Cloud

Goal: I have an application based inside a docker container. I want to be able to use continuous integration for that with push to deploy using Bitbucket Pipelines to Google Cloud. I need access to an SQL database (MariaDB preferably), and some kind…
Arak Tai'Roth
  • 406
  • 1
  • 6
  • 23
-2
votes
1 answer

How to deploy using the compute engine

How to deploy using the compute engine? I want to continually deploy through the bitbucket pipeline.
-2
votes
1 answer

How to create a sh file to change directory and perform operations

i'm trying to connect to a linux vm using a sh file running in my pipelines in order to create a small CI/CD solution. My idea is to login to the vm and perform a docker compose down/up operation. My vm is an ubuntu 18 This is the code inside the…
Leo Ferreira
  • 147
  • 1
  • 5
1 2 3
62
63