Forums

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

Latest version for a pipe

Álvaro López September 24, 2020

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
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2020

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

André Zorzo November 30, 2020

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
AUG Leaders

Atlassian Community Events