Professional Documents
Culture Documents
Scm
Build triggers
Build
Post-build Actions
1 Terminology of Jenkins
Server .jar
Webapp .war
Need to take in consideration the Java home path and Maven home path
Cron Syntax
Example
Build periodically
Hook up where ever the changed are pushed in Git Hub repo it enable the builds
Checkstlye plug in : works on code base to find the warnings which can be corrected
Plug in PMD
After the maven job is run we get a file which is then archive and artifacts are generated so that it
can be used by testers for manual testing so that it can further deployed
To archive the file we need to specify the file **/*.war which means all files with the extension .war
Tom cat is a open source web server environment in which java code can be run.
Default Tomcat and Jenkins run on the same port 8080 so we need to change the port of Tomcat
otherwise there will be conflicts.
C:\Users\ADMIN\Desktop\Devops\SOFTWARES\TomCat\apache-tomcat-8.5.33\conf\server.xml
We need to search connector and change the port to 8090 or whatever you want
We need to also change the role for that we need to open the file tomcat-users.xml
C:\Users\ADMIN\Desktop\Devops\SOFTWARES\TomCat\apache-tomcat-8.5.33\conf\ tomcat-
users.xml
User name tomcat and password tomcat and role the above two
Wipro Tutorials
System: export
Jenkins: advanced
2 configure the plug-in and check if they are available or not (Installed)
JDK
Day 4
Maven
Within src folder need to created with folder main (Application code, Business Code), test,
Python .pyc
Packaging
Maven Goals
Compile,test-compile,test,package,install,deploy
Run the command at the maven folder
mvn archtype:generate
define groupId
define artifactoryid
define version
define package