Jenkins
  • Introduction
  • 1. Jenkins Basics
    • 1.1 Run Jenkins as-is
    • 1.2 Installation of Jenkins
    • 1.3 Installation of jenkins on Tomcat
  • 2. Jenkins Configurations
    • 2.1 Configure Jenkins Slave
    • 2.2 Configure SonarQube with Jenkins
    • 2.3 Configure SilkCentral with Jenkins
    • 2.4 Configure TestNG with Jenkins
  • 3. How to use Jenkins
    • 3.1 Create jobs
    • 3.2 Run jobs
    • 3.3 Run Single Job Parallely in Multiple slaves
  • 4. Jenkins Integrations
    • 4.1 Analysis with SonarQube using Jenkins
    • 4.2 SCTM Result Analysis with Jenkins
    • 4.3 TestNG Result Analysis with Jenkins
  • 5. Jenkins Advanced
    • 5.1Jenkins Challenges
Powered by GitBook
On this page

Was this helpful?

  1. 1. Jenkins Basics

1.3 Installation of jenkins on Tomcat

Previous1.2 Installation of JenkinsNext2. Jenkins Configurations

Last updated 5 years ago

Was this helpful?

Continuous integration is a process in which all development work is integrated at a predefined time or event and the resulting work is automatically tested and build. The idea is that development errors are identified very early in the process.

ENVIRONMENT

  • Apache Tomcat 7.0.2 ()

  • JDK 1.6.0_33 ()

  • Jenkins 1.475 ()

INSTALLATION

Jenkins can Run as a standalone application:

java -jar jenkins.war –httpPort=18080 –ajp13Port=18009

Jenkins should be available under “;.

Or deploys in an application server as Tomcat:

  • Copy Jenkins.war as ROOT.war

  • Delete all folders in [$TOMCAT_HOME]/webapp

  • Copy ROOT.war in the webapp folder

  • Modify the file [$TOMCAT_HOME]/conf/context.xml and add the next line:

<Environment name=”JENKINS_HOME” value=”[path_to_jenkins].jenkins” type=”java.lang.String”/>

  • Modify the file [$TOMCAT_HOME]/conf/server.xml and in <Connector port=”18080″ add the next parameter URIEncoding=”UTF-8″. Also you can modify the ports if it is required

If you start Tomcat your Jenkins installation should be available under “;.

Tomcat as a service in Windows

  • Run [$TOMCAT_HOME]/bin/service.bat install

  • To update the service parameters

C:\> tomcat7 //US//Tomcat7 –DisplayName=”Apache Tomcat 7″ \

C:\> –Description=”Apache Tomcat Server – “

Download
Download
Download
http://localhost:18080/jenkins/&#8221
http://localhost:18080/&#8221
http://tomcat.apache.org/