griddynamics / mpl

[IT-36925] Jenkins Shared Modular Pipeline Library
https://blog.griddynamics.com/developing-a-modular-pipeline-library-to-improve-devops-collaboration/
Apache License 2.0
157 stars 97 forks source link

MPL-52 Fix for issue with restore of the MPL state after restart (#52) #55

Closed sparshev closed 4 years ago

sparshev commented 4 years ago

Used Serializable readObject to restore the static class instance state. The one issue was fixed using @NonCPS.

This fix requires MPL object to be stored in the pipeline (as in vars/MPLPipeline#31).

fixes #52