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

Latest version for a pipe

Hello, i'm writing a pipe to perform a sonarcloud analysis and check the quality gate. 

Could i use "latest" as a version when i'm writing the pipe? 

I mean: 

 script: - pipe: sonarsource/sonarcloud-scan:latest

It doesn't work for me, i'm getting an error when i try to run the pipeline:

It looks like you tried to use a pipe in your bitbucket-pipelines.yml that doesn’t exist. Check the name of the pipe and try again.

However if i use an specific version, everything is ok, like:

 script: - pipe: sonarsource/sonarcloud-scan:1.2.1

 

1 answer

0 votes

Hello @Álvaro López !

We never release latest version.

Basically as for all pipes, including vendor ones, there is the risk that latest docker version may not be verified  as fully working one (in some cases it is, in some cases - no).

However if you accept the risk, you can use it as:

script: - pipe: docker://sonarsource/sonarcloud-scan:latest

You can look at the image to be used here: 

https://bitbucket.org/sonarsource/sonarcloud-scan/src/27b33eeb2ac4d66339039add99b820b9d8cfb946/pipe.yml#lines-2

And how do we know you will be removing support for an earlier version? Some of our pipelines break on pipe updates because earlier versions are no longer available...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

815 views 17 21
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