Need help to create a .jar, .war file from my project!

0 votes
Hello all

I am new to DevOps. I want to make a .jar, .war file from my project which is .php, and upload it on any container.
 I have 3 VM which is 1st is GitLab, 2nd is Jenkins, and 3rd is apache Tomcat all off VMs are running.  

Please suggest to me.
Oct 27 in Jenkins by anonymous
• 19,570 points
30 views

1 answer to this question.

0 votes
For sake of ease, you can scale down your VM's to 2.

The 3rd VM for git-hub is really not necessary.

For you to make a build in jar or war, you need to install the deploy to container plugin on Jenkins and you will need a pom.XML maven file
answered Oct 27 by Ephraim

Related Questions In Jenkins

0 votes
1 answer

How to update Jenkins from a war file?

Hi@akhtar, You need to replace the Jenkins.war file. ...READ MORE

answered Oct 25 in Jenkins by MD
• 77,580 points
24 views
0 votes
1 answer

How to fix a broken build for my project in jenkins?

The user needs to open the console ...READ MORE

answered Oct 11, 2019 in Jenkins by Sirajul
• 58,210 points
1,520 views
0 votes
1 answer

How to deploy a jar file (spring boot jar) using Jenkins?

Use Gradle publish plugin in built.gradle. That should ...READ MORE

answered Sep 30 in Jenkins by Adil Abdullah khan
317 views
+2 votes
5 answers
+2 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
803 views
0 votes
1 answer