Use shared library in freestyle job

Hi all,

In my organization, Some job in Jenkins are pipelines, and some job are freestyle or multi jobs.
The freestyle/multijobs are old and work, and I prefer to change them the minimum I can.
I have some shared libraries that are in use by the pipelines. and I need to implement the same requirements in the freestyle jobs.
Is there a way to use them in the freestyle jobs too?


Nothing official. Maybe executing some sort of groovy interpreter and lot of work.

It’s probably way less work to convert a freestyle to pipeline. There’s a couple tools out there, but honestly since freestyle typically has limited options you can probably do it with less effort than hacking something