Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How does Jenkins manage build process which needs to call a JAR file (instance handling) ?

Tanmoy Chakraborty December 18, 2018

I have built a Jenkins project where the situation is like this:

User provides input from JIRA to build an application which may have dependencies on other application which need to build and deployed at the same time.

So for example if user-1 wants to build an application 'x' and based the requirement, he also needs to build  application 'y' and 'z' along with 'x'.

This choice is dynamic and so I have written a Java code which is exported as .JAR file and is called from the ant script. The ANT script is called from Jenkins build process.

Now the .JAR is located on a specific folder location within the server and reads a xml file (user input) from where it understands that for a specific application requested for build and deploy, how many other dependent applications also need to build and deployed.

QUESTION is: How Jenkin manage this .JAR file execution? if there are multiple developers accessing this Jenkins project then does Jenkins also create multiple instance of this .JAR file or does it always points to a single object of the JAR file?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events