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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,813
Community Members
 
Community Events
176
Community Groups

Specify version of a pipe from a variable

I want to be able to set the version of a pipe in use across multiple repos, by using a workspace variable.

Specifying a branch name for the pipe isn't desirable, I'd like to specify a specific version of the pipe across the multiple repos.

E.g.

image: node:16-alpine

definitions:
  steps:
    - step: &build-and-test
        name: Build and test
        caches:
          - node
        script:
          - npm install
          - npm test
          - npm run build
          - pipe: snyk/snyk-scan:$SYNK_VERSION

Is this possible some other way? When I try the above the following error is shown:

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.

1 answer

1 accepted

0 votes
Answer accepted

Hi Drew,

I'm afraid that this is not possible at the moment, we don't support variables in a pipe's name.

We have a feature request that you vote for to further express your interest:

You can also add yourself as a watcher to that feature request (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Kind regards,
Theodora

Thanks for the information.

That is disappointing, hopefully this can be fixed soon

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events