Hello All,
I am trying to come up with DSL script for below case
conditionalSteps {
condition {
and {
status('SUCCESS', 'SUCCESS')
} {
and {
stringsMatch('${REGION}', 'us-west-2', false)
stringsMatch('${ENVIRONMENT}', 'prod', false)
}
}
}
}
I have referred the examples mentioned in below link but still couldn't solve this issue.
Could you please help?
Thanks,
Amar