Installing Continuum

Installing Continuum

 

Apache Continuum is an enterprise-ready continuous integration server with features such as automated builds, release management, role-based security, and integration with popular build tools and source control management systems. Whether you have a centralized build team or want to put control of releases in the hands of developers, Continuum can help you improve quality and maintain a consistent build environment.

System Requirements

JDK

1.5 or above

Memory

No minimum requirement

Disk

The Continuum application package is less than 30MB but will use more disk space when it’s checking out and building sources

Operating System

No minimum requirement. Tested on Windows XP, Debian, Fedora Core, Solaris and Mac OS X

 

Installing Continuum Standalone

  • Download the standalone version from the Download page
  • Extract the file
  • Set a JAVA_HOME environment variable which use a jdk >= 1.5

Defining JNDI Resources

Mail server configuration

Before to start Continuum, you must configure your SMTP configuration for mail notification. The configuration to do is in $CONTINUUM_HOME/conf/jetty.xml:

<New id=”validation_mail” class=”org.mortbay.jetty.plus.naming.Resource”>

<Arg>mail/Session</Arg>

<Arg>

<New class=”org.mortbay.naming.factories.MailSessionReference”>

<Set name=”user”></Set>

<Set name=”password”></Set>

<Set name=”properties”>

<New class=”java.util.Properties”>

<Put name=”mail.smtp.host”>localhost</Put>

</New>

</Set>

</New>

</Arg>

</New>

Databases configuration

By default, Continuum use an embedded Derby database. If you want to use another database, you can modify the JNDI configuration in $CONTINUUM_HOME/conf/jetty.xml:

<!– continuum database –>

 

<New id=”continuum” class=”org.mortbay.jetty.plus.naming.Resource”>

<Arg>jdbc/continuum</Arg>

<Arg>

<New class=”org.apache.derby.jdbc.EmbeddedDataSource”>

<Set name=”DatabaseName”><SystemProperty name=”appserver.base” default=”..”/>/data/databases/continuum</Set>

<Set name=”user”>sa</Set>

<Set name=”createDatabase”>create</Set>

</New>

</Arg>

</New>

 

<New id=”continuumShutdown” class=”org.mortbay.jetty.plus.naming.Resource”>

<Arg>jdbc/continuumShutdown</Arg>

<Arg>

<New class=”org.apache.derby.jdbc.EmbeddedDataSource”>

<Set name=”DatabaseName”><SystemProperty name=”appserver.base” default=”..”/>/data/databases/continuum</Set>

<Set name=”user”>sa</Set>

<Set name=”shutdownDatabase”>shutdown</Set>

</New>

</Arg>

</New>

 

<!– Users / Security Database –>

 

<New id=”users” class=”org.mortbay.jetty.plus.naming.Resource”>

<Arg>jdbc/users</Arg>

<Arg>

<New class=”org.apache.derby.jdbc.EmbeddedDataSource”>

<Set name=”DatabaseName”><SystemProperty name=”appserver.base” default=”..”/>/data/databases/users</Set>

<Set name=”user”>sa</Set>

<Set name=”createDatabase”>create</Set>

</New>

</Arg>

</New>

 

<New id=”usersShutdown” class=”org.mortbay.jetty.plus.naming.Resource”>

<Arg>jdbc/usersShutdown</Arg>

<Arg>

<New class=”org.apache.derby.jdbc.EmbeddedDataSource”>

<Set name=”DatabaseName”><SystemProperty name=”appserver.base” default=”..”/>/data/databases/users</Set>

<Set name=”user”>sa</Set>

<Set name=”shutdownDatabase”>shutdown</Set>

</New>

</Arg>

</New>

 

Installing as a Windows Service

  • Go to $CONTINUUM_HOME/bin/ and run the following command:

    continuum.bat install

  • Edit the ‘Apache Continuum’ service
    • To see the services that are on your computer go to Start|Run and enter ‘services.msc’.
  • Select the ‘Startup Type’
  • Go to the ‘Log On’ tab and select a real user. A real user is required because you’ll need a home directory for maven repository and some other things
  • Validate your changes

4 Responses so far.

  1. squice says:

    great site this nitinaggarwal.wordpress.com terrific to see you have what I am actually looking for here and this this post is exactly what I am interested in. I shall be pleased to become a regular visitor 🙂

  2. affitleNilD says:

    Hello ! http://www.sportscolumn.com/archives/000222.html
    jony We’re gonna need a few more people cheering for us. I’ll tell you why

  3. squice says:

    terrific site this nitinaggarwal.wordpress.com terrific to see you have what I am actually looking for here and this this post is exactly what I am interested in. I shall be pleased to become a regular visitor 🙂

  4. Great site this nitinaggarwal.wordpress.com and I am really pleased to see you have what I am actually looking for here and this this post is exactly what I am interested in. I shall be pleased to become a regular visitor 🙂