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
4
votes
1 answer

Bitbucket Pipelines - Build not outputting the build files?

I have recently started working with CI using Bitbucket Pipelines. I have managed to connect using my SFTP server, creating API public & private keys and adding them to my server using SSH. Now, when I run the build it will upload all my files to…
Galanthus
  • 1,958
  • 3
  • 14
  • 35
4
votes
3 answers

Bitbucket Pipeline - how to exclude files or folders?

How can I exclude folders or files from being uploaded to the server? I would like to ignore the "src" folder and package.json. # ----- image: node:10.15.3 pipelines: branches: develop: - step: caches: - node name:…
Galanthus
  • 1,958
  • 3
  • 14
  • 35
4
votes
0 answers

I have problem with access to ftp server via bitbucket pipeline

I want deploy my website when I push changes on master. I tried to follow the guides from bitbucket and other sites but nothing solved my issues. My .yml file look like that image: samueldebruyn/debian-git pipelines: default: - step: …
4
votes
2 answers

Unable to build a docker image in a Bitbucket pipeline

When I try to build an image for my application, an image that relies upon buildkit, I receive an error: failed to dial gRPC: unable to upgrade to h2c, received 403 I can build standard docker images, but if it relies on Buildkit, I get…
Alex Mills
  • 41
  • 3
4
votes
2 answers

Getting "sudo: command not found" error in bitbucket-pipelines

In my bitbucket-pipelines.yml file, I have this: - step: image: python:3.7.2-stretch name: upload to s3 script: - export S3_BUCKET="elasticbeanstalk-us-east-1-133233433288" - export VERSION_LABEL=$(cat…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
4
votes
2 answers

How to locate apk file using bitbucket-pipelines?

I'm using BitBucket-pipelines for Android CI. I'm trying to export the artifact (generated apk) to the downloads section of the project. My bitbucket-pipelines.yml is as follows, but it can't locate the apk file image:…
4
votes
2 answers

Nightwatch + webpack dev server + bitbucket pipelines

I am trying to get end to end testing working in our bitbucket pipeline environment using nightwatch.js, we have hit a problem. How can we keep the dev server running and run the tests referencing the dev server. This isn't a problem on our local…
dtsn
  • 1,077
  • 1
  • 10
  • 17
4
votes
1 answer

Download artifacts from Bitbucket Download

I followed this link to use Bitbucket as private Maven repository. I'm able to deploy artifacts to the Download section of REPO_A, but I can't make REPO_B download artifacts of REPO_A. Is that supposed to work? Any idea how to fix this?
Shvalb
  • 1,835
  • 2
  • 30
  • 60
4
votes
1 answer

Pipelines: Minimum supported Gradle version is 4.10.1. Current version is 4.4

I have updated top-level build.gradle file : from classpath 'com.android.tools.build:gradle:3.1.4' to classpath 'com.android.tools.build:gradle:3.3.0' And now cant build project on Bitbucket-Pipelines: Error is: FAILURE: Build failed with an…
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
4
votes
1 answer

Asp.net core + Aws Elastic Beanstalk + Bitbucket pipeline

How can we use bitbucket pipelines to update an asp.net core website on aws elastic beanstalk?
AJ222
  • 1,114
  • 2
  • 18
  • 40
4
votes
3 answers

Bitbucket pipelines without container

Can I create Bitbucket pipeline that will simple just pull code from repo and deploy it to web root folder. I don't use any kind of container, just LAMP stack.
MarchWolf
  • 61
  • 4
4
votes
1 answer

Bitbucket Pipelines & non-headless Puppeteer?

I'm trying to run non-headless puppeteer for testing a chrome extension in pipelines. When I google the topic I find quite a few people who are able to get headless puppeteer to work on pipelines but for some reason I am unable to get it to work…
4
votes
1 answer

Bitbucket pipeline fail to push to heroku

I do have a react.js app (create-react-app) I setup the file just like explained in the official docs, everything went good but the push failed with this specific line git push https://heroku:$API_KEY@git.heroku.com/$APP_NAME.git HEAD:master The…
user7319004
4
votes
1 answer

Handling ssh/https auth with bitbucket repositories used as a module source

I am trying to consume a Terraform module that I've got in a dedicated private modules repository in BitBucket. I have an app repository in BitBucket that has Terraform templates in there that consumes a module in the modules repository. When I…
Johnathon Sullinger
  • 7,097
  • 5
  • 37
  • 102
4
votes
2 answers

Kubernetes set image missing resource type 'deployment'

I'm trying to update an image in Kubernetes by using the following command: kubectl set image deployment/ms-userservice ms-userservice=$DOCKER_REGISTRY_NAME/$BITBUCKET_REPO_SLUG:$BITBUCKET_COMMIT --insecure-skip-tls-verify But when I receive the…
TietjeDK
  • 1,167
  • 2
  • 15
  • 43