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*.

1350 questions
-1
votes
1 answer

I was not able to deploy react native web app to Azure Static Web App via bitbucket

Here is my pipelines bitbucket-pipelines.yml image: atlassian/default-image:latest options: docker: true size: 2x pipelines: branches: dev: - step: name: Deploy to test deployment: test caches: …
Youcef
  • 1
  • 1
-1
votes
1 answer

Bitbucket pipeline not able to propagate some commands installed on default

image: python:3.7 pipelines: default: - step: name: Install and Configure Google Cloud SDK script: - export BUILD_TAG=stage-xxx:$BITBUCKET_BUILD_NUMBER - echo $GCLOUD_API_KEYFILE | base64 -d >…
-1
votes
1 answer

Problem handling regular expression with the table

I have already extracted output from bitbucket pipeline to the .txt file. Now I want to get some of the text (tables at bottom of the code ) with regular expression. Is it possible to extract the table below from the file with grep? If yes, how? I…
Smh
  • 113
  • 1
  • 6
-1
votes
1 answer

Host key verification failed on Bitbucket Pipeline

I would like some help running my bitbucket pipeline ci/cd, but I am having a serious problem with the .key certificate part to access the server. this is the output of the error: Digest:…
-1
votes
1 answer

Jest tests pass locally, but fail on bitbucket pipeline

I have errors that I make in code: export class UnprocessableException extends Error { constructor(message: string) { super(responseStatus.UNPROCESSABLE, message); } } I then test them in jest tests like: try { .... } catch (e)…
meh93
  • 311
  • 4
  • 13
-1
votes
1 answer

Bitbucket auto deploy to Linux server (DigitalOcean Droplet)

I have encountered a problem while attempting to deploy my code to a Droplet server (running Ubuntu) using BitBucket Pipeline. I have set the necessary environment variables (SSH_PRIVATE_KEY, SSH_USER, SSH_HOST) and added the public key of the…
-1
votes
1 answer

Bitbucket pipelines: How to find the directories/paths to cache apt-get installed packages?

I need help caching packages in my bitbucket pipeline that were installed via apt-get. For non-apt-get installed packages you can find the path where packages are installed online. However, I'm not sure what directorie(s) to cache for apt-get…
-1
votes
1 answer

Deploying with Bitbucket pipeline

I hope you are doing well! I'm facing a problem when trying to deploy using Bitbucket pipeline. The project is a React project at version 18.2.0 and its files are in the frontend folder. bitbucket-pipelines.yml image: atlassian/default-image:3 #…
user19226839
-1
votes
2 answers

Staging deployment with Bitbucket pipeline and Azure Static Web App

I could successfully deploy my project into the production environment using the provided documentation https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/static-web-apps/bitbucket.md pipelines: branches: main: - step: …
-1
votes
2 answers

Bitbucket-Laravel-Azure Web App: Artifacts not uploaded

Artifacts is not uploaded after successful test pipeline. What's wrong with the code below? Here's the result:
nelsonym
  • 362
  • 1
  • 3
  • 10
-1
votes
1 answer

trigger bitbucket pipeline with python

I am trying to run my bitbucket pipeline branches/main with this script. Currently, when I run it, I see no output. No error/success message. When I check on bitbucket, the pipeline has not run. How can I further debug this? headers = { …
x89
  • 2,798
  • 5
  • 46
  • 110
-1
votes
1 answer

Bitbucket pipelines ssh-run: SERVER variable missing

When I run the Bitbucket pipeline I always have this strange error I can't resolve: In the build log --env=COMMAND="./ansible/deploy-dev.sh" \ --env=MODE="script" \ --env=SERVER="$SSH_JUMP_HOST" \ --env=SSH_KEY="$SSH_JUMP" \ …
nilsM
  • 107
  • 8
-1
votes
1 answer

Bitbucket ssh pipeline fails

Trying to ctreate pipeline for 2 brances but got configiration error Configuration error There is an error in your bitbucket-pipelines.yml at [pipelines > branches > staging > 1]. To be precise: Step is empty, null, or missing. Validate your…
-1
votes
1 answer

Installing PHP Extentsions in Bitbucket Pipeline Composer image

What is the correct way to install and enable PHP Extensions in a Bitbucket Pipeline? Our bitbucket-pipelines.yml uses image: composer:2.0 which worked fine until a unit test was added that requires php-gd. gd requires zlib, but installing zlib…
Gavin
  • 2,214
  • 2
  • 18
  • 26
-1
votes
1 answer

Git Issue : Unable to merge Dev branch to master

I am trying to merge dev branch to master. I am getting below message. I did git checkout 84c65de followed by git merge remotes/origin/master I resolved issues in Vs Code. What to do next. Shall I push change to dev/master?
Rohit Mittal
  • 395
  • 1
  • 5
  • 18
1 2 3
89
90