jenkinsci / templating-engine-plugin

create tool-agnostic, templated pipelines to be shared by multiple teams
https://jenkinsci.github.io/templating-engine-plugin/latest/
Apache License 2.0
171 stars 58 forks source link

Ensure pipeline's can resume when Jenkins restarts mid-step #273

Closed steven-terrana closed 2 years ago

steven-terrana commented 2 years ago

PR Details

fixes #191

Description

Adds a StepWrapperScriptPickle to assist in unmarshalling a compiled step during pipeline resumption.

How Has This Been Tested

Reproduced error via unit tests Tests pass.

Reproduced error in a live Jenkins and validated fix.

Types of Changes

Checklist