I have a jenkins declarative pipeline which I am interested to be able to perform a stage only if a specific environment variable contains a specific substring(not fully equals to it, just contains it). Does anyone got any idea on how can I implement it(maybe using the when condition if possible).
Thanks in advance, Alon