Jenkins 2.x - DSL - error handling?

26 views
Skip to first unread message

thomas....@teamaol.com

unread,
Apr 13, 2016, 4:43:04 AM4/13/16
to Jenkins Users
Assume a pipeline where one stage "Provide Database" runs a Docker container providing a database.
Assume we have some tests in a next stage "Run Tests".
Assume the tests fails.

How do I cleanup the running Docker container when the
next stage "Cleanup Database" is not called?

Kind Regards,
Thomas

thomas....@teamaol.com

unread,
Apr 13, 2016, 8:01:18 AM4/13/16
to Jenkins Users
Reply all
Reply to author
Forward
0 new messages