Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why does pipeline validator not catch pipe names without versions?

Jason Harrison November 4, 2020

In my bitbucket-pipeline.yaml I had a script with references to atlassian/aws-ecs scripts

script:
  - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
 
- aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
  -
aws configure set default.region $AWS_DEFAULT_REGION
  - pipe: atlassian/aws-ecr-push-image:1.1.2

For some reason if, I delete the version of the pipe (`:1.1.2`) I get an error:

"Your pipe name is in an invalid format. Check the name of the pipe and try again."

This is not caught by the Validator for bitbucket-pipelines.yml.

1 answer

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2020

@Jason Harrison we do not support pipes without version tags and latest also. This is the reason why you have it failing

Regards, Galyna

Jason Harrison November 12, 2020

Perhaps changing the error message to something like:

"Your pipe name is in an invalid format. Check the name of the pipe, including the version, and try again."

Like # people like this
Jonathan Duncan November 13, 2020

Agreed. This threw me off as well.

roman_rakhmatullov July 16, 2021

Seems bitbucket-pipelines.yml validator doesn't catch this problem, but it is shown only when trying to run. That's a problem of validator I believe.

Like Jason Harrison likes this
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 19, 2021

@Jason Harrison @Jonathan Duncan @roman_rakhmatullov we are reporting this to the appropriate team, thank you for the feedback!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events