Working with bamboo 9.2 yaml specs. What are the possible conditions for a variable in yaml spec? "equals" work but "not equals" is invalid
Hello Joel,
Welcome to Atlassian community
You can use Not eqauls as well with below example. It would accept all the 5 conditions exists, not exists, equals, not equals, matches
tasks:
- script:
interpreter: SHELL
scripts:
- echo "hello"
conditions:
- variable:
not-equals:
jira.version: 2.3
tasks:
- script:
interpreter: SHELL
scripts:
- echo "hello"
conditions:
- variable:
matches:
jira.version: '2.3'
Let me know if this helps!
**please don't forget to Accept the answer if your query was answered**
Regards,
Shashank kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.