In my pipeline definition, for getting resources from other pipeline, I'd like to define a default tags value to use, such as "release candidate", but allow to select to use any tags or even without tag. Is there a simple way to do so?
Here's my attempt but seems like "*" doesn't work:(
parameters:
- name: TagsToUse
displayName: 'Select the tags to use for artifact from pipeline xxxx'
type: string
default: 'release candidate'
values:
- 'release candidate'
- '*'
resources:
pipelines:
- pipeline: xxxx
project: 'MyProject'
source: 'TargetSource'
branch: 'master'
tags: ${{ parameters.TagsToUse }}
...
...
...
- ${{ if ne(parameters.tags, '*') }}: