Question: Assignment - S: Acienterity Mode Creating project Create a maven projoct in lava [ using text editor or eclipse ] Implement dependencies as appropriate and
AssignmentS:
Acienterity Mode
Creating project
Create a maven projoct in lava using text editor or eclipse
Implement dependencies as appropriate and modify the POM xenl file
Create local git repository and commit the code
Create remote GitHub repository and push the code
Assignment:
Create a maven project in Jenkins to use the code from Githlub repocatory in Assignment
Install the appropriate plugins
Build the code
Check the console output find the Bulld whether successful.
Assignment:
Check the Jenkins workspace to get the,war file
Use Post build actions to deploy the binary using Apache Tomcat.
Do the appropriate changes in Tomcat users xml and server,xml if needed.
Show the output on browser
Assignment:
Write a declarative Pipeline script in Jenkins to build the above code
Using the same script create the docker image of that binary.
Take care of the credential management of docker hub repository.
Tag and push the im age to personal repository on
hub.docker.com
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
