Question
CIBC
CA
Last activity: 27 Sep 2017 6:49 EDT
Automated deployment using jenkins
Has anyone deployed multiple jar/zip files using jenkins?
I can deploy one file at a time, but requirements are to deploy multiple files as once. Anyone encountered this same issue and how to resolve it?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
JPMorgan Chase & Company
US
Hi,
We can deploy product file from one environment to other environment using Jenkins, the product file including all required files. I don't understand your use case, could you please let us know what do mean multiple files ?
CIBC
CA
Hello,
thanks for your response, I am working on deploying multiple jar files instead of one jar file. Hence we need to work on solution where multiple jar files can be deployed instead of only one jar file with one build.
Pegasystems Inc.
US
@SUNIL - i think you can create multiple jenkins jobs to deploy multiple Product files and try to run at a time, will this suite your requirement? Because as per my knowledge we can deploy one product file content with a single Jenkins job.
CIBC
CA
Do you mean setting up multiple jobs and calling those multiple jobs with one job?
But there is no specific number of jar files, it could be 2-3 or sometimes it could be 5-7. Hence I dont think this solution will work for us.
Pegasystems Inc.
US
What do you mean by Jar file deployment, what kind of jar you are talking about. Using prpcServiceUtils you can perform the export/import of the Product/Application rules from one environment to another environment. Could you give more explanation about what kind of task are you trying to perform using jenkins?
Pegasystems Inc.
US
To understand the automation deployment of jar file using prpcServiceUtils and Jenkins have a look into this blog. By using this implementation you can import/export a single jar file using single jenkins job. To deploy multiple jars automatically then you need to create multiple jobs and schedule them periodically using jenkins as explained in the blog.
CIBC
CA
Hello Mahesh,
In our environments, we are creating multiple product files to export rules from lower environment, it could vary as different ruleset versions and rules will be exported in the different product files. Once rules are extracted, we want to import those jar/zip files to higher environment. Hence I want to set-up one build which will import those multiple jar/zip files using prpcutils.
Hope this helps. Thanks in advance for your help.
Pegasystems Inc.
US
I am not sure whether this requirement can be achieved through prpcutils, may be others can comment on this.