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, 2020 in Jenkins by anonymous
• 19,610 points
1,024 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, 2020 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 26, 2020 in Jenkins by MD
• 95,440 points
7,066 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
• 59,230 points
7,929 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, 2020 in Jenkins by Adil Abdullah khan

edited Mar 4, 2022 by Sarfaraz 4,044 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,458 views
0 votes
1 answer

How to transfer files from one server to another using Jenkins?

You need configure SSH in Jenkins and ...READ MORE

answered Oct 27, 2020 in Jenkins by Sachin
6,943 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP