I'm play with the pipeline sh directive and can't get it to behave how I want it to. Maybe there's a workaround?
The bash script I'm calling has two success modes with the following semantics: (1) everything succeeded, now go onto the next (Jenkins) stage, and (2) everything succeeded and the build done, so don't run any further stages. How do I return two separate exit codes and not have the pipeline mark one of them as failed (in red)? How do I exit the pipeline early (not run all stages), and have the build marked as successful? Thanks! -- 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/ca395381-c0c1-4bf1-abde-9a60cbc9c2b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.