5. AWS Console - Select Instance
https://portal.aws.amazon.com/gp/aws/user/subscription/index.html?ie=UTF8&offeri
ngCode=E4F8A8DE (Need to Register on this URL First to Use It)
9. 1) From the menu option “Conversions”, select
“Import key”
2) In the dialog, locate PEM file and “Open” it.
3) Change the comment from ‘imported-openssh-
key” to a something more descriptive
4) Optional: Enter a passphrase.
5) Create PPK file by clicking on “Save private key”
10. • Open Putty
• Add the “ppk key” in Connections->SSH->Auth
Section
• Session->Enter (Host0Name) / IP Address
• Login in as ec2-user
11. Sonar Jenkins SVN Instance
https://portal.aws.amazon.com/gp/aws/user/subscription/index.html?ie=UTF8&offeringCode=E4F8A8DE
Port/URL Description credentials
root user -> ec2-user ec2-user is the root user name Use ppk key
:22 Login using SSH Client like Putty. Use PEM Key
:80 Apache Server Test Page
:80/svnmanager
:80/svn/svnrepo
SVN Server admin/p@$$
w0rd
:8080/sonar Sonar on Tomcat Server admin/admi
n
:8181/spring-mvc-showcase/
:8080 Jenkins Server No
credentials
:3306 MySQL Server, use MySQL Client /
SSH Client
root / tiger
:465 Gmail port
12.
13. What Is Jenkins
• Continuous Integration
- Ant , Maven Builds
- Custom Builds
• Built In Java, Jenkins.war
• Plugin Echo System
• Strong Integration with
Other Tools like
– GIRA --SONAR
– Gerrit --Chat
• Used By – Like Netflix,
LinkedIn,GitHub etc
14. Some Jenkins Plugins To Have
Plugin Usage
SCM Plugins Source Control Plugins for SVN, P4 etc
JobHistory Plugin History of Changes in Configuration
DiskUsage Plugin Visualize the space , workspace, archived
builds takes.
BuildTimeOut Plugin Kill the Build after TimeOut
Parameterized Trigger Plugin To Pass parameters
Email –Ext Plugin To Format your Emails
• Use Plugins On Need Basis (Total 375 Plugins)
• https://wiki.jenkins-ci.org/display/JENKINS/Plugins
15. Jenkins Tips
• Do no have Monolithic Builds
– Use Master- Slave to distribute the jobs
– Split Jobs logically
• Jenkins Releases are Weekly
• Join Jenkins Community
18. • Squid (Core Analyzer)
– RFC (Response For Class)
– LCOM4 (Lack Of Cohesion Methods)
– DIT (Depth Of Inherentence Tree)
– NOC – Number Of Children
• CheckStyle (Adheres to Coding Standards)
23. • SQUID (Core Analyser)
– LCOM4 – Lack of Cohesion Methods
– DIT – Dependency Of Inheritence Tree
– NOC – No of Children
• CheckStyle
– Coding Standards
– Duplication,
– Memory Outage
26. • OpenSource
• Quality Management Program.
• More Than 600 Code Rules have been
Integrated
• Helps Detect Minor to Critical Defects
• Drills Code Top to Bottom
Watch the Quality Of Code Over Time