Is there a way to perform conditional logic in my pipeline based on the exit code from a 'sh' step? Basically, I want to execute different behavior based on that. In this case it is Terraform which will output different exit codes based on the results of a 'terraform plan'
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bb304f92-cec8-4d20-9ef7-86d4dcc0b695%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.