DRY Syntax For When/and/not Statements In Conditional Workflows
D
Durga Prasad Eegalapati -X (deegalap - SRS BUSINESS SOLUTIONS INDIA PVT LTD at Cisco)
Currently, it's necessary to place multiple
when:
not:
equal:
for multiple conditions such as
- not:
equal: [ "", << pipeline.parameters.imageName >> ]
- not:
equal: [ "", << pipeline.parameters.imageTag >> ]
etc.
It would be best for this to be able to be consolidated for best practices for simplifying YAML while writing configs such as an array