Quantcast

Job Dependecy to external lib/app

classic Classic list List threaded Threaded
3 messages Options
mrz
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Job Dependecy to external lib/app

mrz
I was wondering if there is any way to make Jenkins download external lib/app in order to build a job.

Say job a id dependent on "foo" lib or "bar" application in order to be executed on machine M. Now My question is: If Jenkins can download the lib/app for the job when building on machine M for the first time?

On a different note, I was curious to figure out what <keepDependencies> tag in config.xml stands for. And if its possible to declare dependencies in config.xml



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Job Dependecy to external lib/app

cjo9900
As regards installing tools for performing the build there are several that already do this, i.e. git, java sdk, etc and the custom tools plugin[1] will allow you to install other tools as needed. 
This plugin will allow you to define a script to be able to install a tool, so it could be used to install other libs on your slaves as required.

Chris 
[1] https://wiki.jenkins-ci.org/display/JENKINS/Custom+Tools+Plugin 


On Saturday, October 27, 2012 9:05:23 AM UTC+1, mrz wrote:
I was wondering if there is any way to make Jenkins download external lib/app in order to build a job.

Say job a id dependent on "foo" lib or "bar" application in order to be executed on machine M. Now My question is: If Jenkins can download the lib/app for the job when building on machine M for the first time?

On a different note, I was curious to figure out what <keepDependencies> tag in config.xml stands for. And if its possible to declare dependencies in config.xml



mrz
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Job Dependecy to external lib/app

mrz
custom tools plugin helped me solve my problem.
Thank you.

On Saturday, October 27, 2012 3:40:57 PM UTC+3:30, cjo wrote:
As regards installing tools for performing the build there are several that already do this, i.e. git, java sdk, etc and the custom tools plugin[1] will allow you to install other tools as needed. 
This plugin will allow you to define a script to be able to install a tool, so it could be used to install other libs on your slaves as required.

Chris 
[1] https://wiki.jenkins-ci.org/display/JENKINS/Custom+Tools+Plugin 


On Saturday, October 27, 2012 9:05:23 AM UTC+1, mrz wrote:
I was wondering if there is any way to make Jenkins download external lib/app in order to build a job.

Say job a id dependent on "foo" lib or "bar" application in order to be executed on machine M. Now My question is: If Jenkins can download the lib/app for the job when building on machine M for the first time?

On a different note, I was curious to figure out what <keepDependencies> tag in config.xml stands for. And if its possible to declare dependencies in config.xml



Loading...