You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
I am closing this issue. If anyone comes across this and cares about the behavior, feel free to file a new issue on https://issues.jenkins.io/ with the component set to workflow-cps-plugin, but note that unless you work on it yourself it is very unlikely to ever be fixed.
CPS transformation ignores the declared return type of function, and always treat as if it is typed as
Object
.This creates a behaviour difference between normal Groovy code vs CPS-transformed code.
This should be relatively easy by having Continuation check the type of the value (or substitute it by null in case of
void
methods)The text was updated successfully, but these errors were encountered: