Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Pipeline validator doesnt function correctly.

skaul May 23, 2025

Take an example of a following skeleton of a pipeline.

# Example
definitions:
step:
- step: &RunFlake
name: Run Flake
runs-on:
- self.hosted
- windows
script:
- git config --global core.autocrlf input
- git config --global --add safe.directory '*'
- git lfs pull
- step: &GenerateExe
name: Generate Exe
runs-on:
- self.hosted
- windows
script:
# Run your commands inside the Docker container
- git config --global core.autocrlf input
- git config --global --add safe.directory '*'
- git lfs pull
- step: &BumpRevision
name: Bump Revision
runs-on:
- self.hosted
- windows
script:
# Run your commands inside the Docker container
- git config --global core.autocrlf input
- git config --global --add safe.directory '*'
- git lfs pull
pipelines:
default:
parallel:
- step: *GenerateExe
- step: *RunFlake
branches:
develop:
- step: *GenerateExe
- step: *BumpRevision



 

When i put this into the Bitbucket Pipelines - Validator

It shows it as valid.

BitbucketPipeline_validator.PNG

This pipeline is not valid. As when we run it the bitbucket runner throws the error as below:

BitbucketPipeline_nosectionparallel.PNG

The correct syntax for the parallel is as follows:

pipelines:
default:
- parallel:
- step: *GenerateExe
- step: *RunFlake
branches:
develop:
- step: *GenerateExe
- step: *BumpRevision

 

Notice the hypen at the front of the parallel. So is it that the validator for the pipeline cannot be trusted?? 

 

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 25, 2025

Hi @skaul

Thank you for reaching out to the community.

Unfortunately, this is currently a known issue with the Pipelines validator feature and we have a public bug ticket for it that can be located here: https://jira.atlassian.com/browse/BCLOUD-18299

You can watch and click the "This affects my team" button so that you'll be notified of any updates from our team when the bug is fixed.

Regards,
Mark C

skaul May 27, 2025

Thanks Mark I have voted and subscribed to the issue to receive any future notification. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, state of devex 2025, developer experience, devex report, developer productivity, ai in software development, engineering challenges, team collaboration, internal developer platform, time management, developer survey, space framework

Atlassian State of Developer Experience Report 2025

AI is reshaping the dev experience, with faster builds but adding more friction. See what 3,500 developers and managers say about productivity, tools, and team alignment in Atlassian’s State of Developer Experience report 2025.

Explore the report
AUG Leaders

Atlassian Community Events