Skip to main content

All Questions

0 votes
1 answer
168 views

Bitbucket Pipelines: Unable to Execute Multiple Reusable Steps in a Custom Pipeline

I'm encountering an issue where I cannot get multiple reusable steps to execute sequentially in a custom pipeline in Bitbucket. My goal is to set up AWS credentials and then deploy a Go application, ...
quetzalfir's user avatar
0 votes
2 answers
72 views

Bitbucket pipeline fails for grep command in exclude hidden directory

I have the following command to run: grep -r -n --exclude-dir='.test' ERROR . >> errors.txt This works fine on the terminal but when I run this on bitbucket pipeline via yml file, it fails with ...
Sunny's user avatar
  • 11
0 votes
0 answers
135 views

Bitbuket pipeline pytest issue

I have a test folder in my directory under tests/test_main.py, in this file I am calling the pytest feature within an if statement as follows; - if python3.9 -m pytest; then echo "Tests ...
techrs's user avatar
  • 1
0 votes
1 answer
187 views

Bitbucket Pipelines - "The term 'chmod* is not recognized" error

I'm a beginner to pipelines in Bitbucket. I have a project with a .ymal file that I need to push to bitbucket, which would trigger a pipeline. However the triggered pipeline will not complete ...
Isira Ratnayake's user avatar
0 votes
0 answers
47 views

Can I edit the individual Pipeline link-texts/headings on BitBucket in the "X of Y builds passed" section?

I have 2 Pipelines running on a repo that were configured using bitbucket-pipelines.yml. They show up on the side of the BitBucket interface like this- Pipeline #807 for branch-name-here Pipeline #808 ...
Karan Upamanyu's user avatar
0 votes
0 answers
290 views

Bitbucket pipeline exists without running step in definitions

Here is my bitbucket-pipelines.yml pipeline runs without any errors. but <<: *build_and_deploy is not running in tags: how can I run git checkout -b master and code in *build_and_deploy with ...
ashen madusanka's user avatar
0 votes
1 answer
651 views

What is wrong with bitbucket-pipelines.yml. "Expected a mapping or list of mappings for merging, but > found scalar"

I'm trying to figure out why is bitbucket pipelines cicd throwing yaml syntax errors for my pipeline. Actual error message: There is a YAML syntax error in your bitbucket-pipelines.yml at [line 3, ...
Dannyboy's user avatar
  • 2,022
1 vote
0 answers
503 views

Bitbucket pipelines and SSH keys: How do I add a new Windows server and troubleshoot connection issues?

I configured SSH keys to deploy to my Windows server using the following document https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-windows/ I generated the SSH keys on ...
Divya Naidu's user avatar
0 votes
1 answer
298 views

Yaml based multiline bash script not terminating

For a bitbucket pipeline I'm using the following after-script: after-script: - |- ssh -tt -p 222 [email protected] "/bin/bash" << EOF ...
pgalle's user avatar
  • 294
1 vote
1 answer
209 views

Decline a PR when pipeline gets failed

I am using bitbucket pipelines for PR raised pipeline, is there any way to write in bitbucket-pipelines.yml or in bitbucket settings to Cancel/Decline PR if pipeline gets failed at any step? There are ...
Abhishek Singh's user avatar
0 votes
2 answers
652 views

How to define different branches pipelines with shared steps

Steps of a branch pipeline are not executed if the same branch has another matching pipeline. Please check the code, you might get the idea. Do I need to use any condition? I have tried if conditions ...
vigneshse88's user avatar
3 votes
1 answer
4k views

Bitbuckets Pipelines create a step with parallel steps

I want to have one step, that will setup everything and then in parallel run other steps. Currently I have something like this: image: python:3.9.16-alpine pipelines: default: - step: ...
Arrstad's user avatar
  • 160
1 vote
2 answers
2k views

How to you escape special character from bitbucket pipeline

I have a yml bitbucket pipeline where I would like to auto commit a message containing # and : I am doing : - git commit -m "[skip ci] $ISSUE #comment Link : $LINK" The issue is the pipeline ...
Crocsx's user avatar
  • 7,320
0 votes
1 answer
634 views

How to build and deploy jar in same step in bitbucket-pipelines.yml file?

I have a bitbucket-pipelines.yml file actually steps are working good. But what I want to do is deploy the backend jar after build is finished. But as you see build image and ubuntu image are in ...
abidinberkay's user avatar
  • 1,967
0 votes
1 answer
2k views

Multiple deployment pipes on bitbucket

I have a solution where reside a web application and an azure function. So different pipes should be used for deployment: microsoft/azure-web-apps-deploy:1.0.3 - for web app microsoft/azure-functions-...
amplifier's user avatar
  • 1,803

15 30 50 per page
1
2 3 4 5