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.