Hi,

I have faced the same issue. Yesterday, I stumbled across the Scriptler
plugin, which so far seems to fulfil my needs.
If you get a Managed Script Plugin to do, what you need, I would be very
interested in hearing about it.

Best regards,
Thomas

P.S. I also have a script for grabbing the version from a Maven-POM.
Perhaps there is a need for generally supporting this.


On Tue, Aug 27, 2013 at 12:32 AM, Jeff <[email protected]> wrote:

> I have a little Groovy script that pulls the Maven artifact version and
> stores it in an environment variable.
>
> It is now obvious with all my jobs that I should probably centrally manage
> and share that script so it isn't duplicated.
>
> It seemed that the "Managed Script plugin" would be ideal.
>
> However, I've installed the Managed Script Plugin and saved the Groovy
> Script but when I try to add a pre or post-build build "Execute Manage
> Script" task it says "No build templates are defined" and directs me to the
> Manage Script page but I'm not sure what a build template is or why I would
> need it.
>
> Even if it did allow me to select that script, I'm not sure it will work
> because I believe it needs to be a "Groovy System Script".
>
> Thoughts?  Is there a better way to manage a common Groovy system script?
>
> --
> Jeff Vincent
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to