Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why does pipeline validator not catch pipe names without versions?

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

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

Regards, Galyna

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

Agreed. This threw me off as well.

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

@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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

228 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you