'In Jenkins, execute a managed script

We have some scripts that are managed in Jenkins, and are not yet in a repository.

In a Jenkinsfile (scripted or declarative), how can I execute a managed script?

Thanks ahead!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source