On Tuesday, January 10, 2017 at 7:08:01 PM UTC+5:30, Mark Bidewell wrote:
>
> I am looking at the external libraries capabilities of Jenkins Workflow. 
>  Our workflow uses python scripts for portions of the build process.  Can 
> this scripts be stored as resources and a path to them retrieved via 
> workflow?  Right now the scripts are in a directory on the server not under 
> Jenkins control.
>

Two (actually three) possible options:

1) Explore "Managed Scripts" plugin (I suppose this supports only shell 
scripts) alongwith Config File Provider plugin.

2) If you have Pipeline plugin installed, then these Python scripts can be 
invoked using step, "sh" but this will demand your scripts in version 
control.

3) If the Jenkins job is a freestyle project, then the entire script can be 
added as a 'build step' ; but then, every change to the build script (for 
bug fixes or new improvements), job needs to be modified and the script 
content should be replaced.

/Ram 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/420abdf2-d096-40c0-a639-19b49d1bc9fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to