JenkinsPipelineUnit icon indicating copy to clipboard operation
JenkinsPipelineUnit copied to clipboard

Enable CPS feature with Declarative Pipelines

Open GordonJess opened this issue 3 years ago • 1 comments

I am experiencing a lot of inconsistencies between executing pipelines in JenkinsPipelineUnit and on Jenkins itself, due to CPS transformation, as noted in README.md

I want to enable this on my declarative pipeline tests in order to test as close to the real thing as possible. I need to be able to trust the result of the test actually hold when running on Jenkins.

So far I can only see a CPS version of BasePipelineTest. But is there any way to enable this for declarative pipelines (DeclarativePipelineTest) too?

GordonJess avatar Sep 03 '21 12:09 GordonJess