I have some variable with name 'MyVariable' and want to compare it with some string constant inside rules: if section inside job:
rules:
- if: $MyVariable == 'some string'
But MyVariable actually can be in different cases, like:
SOME STRING
Some String
SoME strinG
and so on. Current comparison (==) is case-sensitive, and expression results to 'false' when MyVariable is not exactly 'some string' (in lower case). Is there any possibility compare two strings in case-insensitive way?