Installation
Continuum runs at: http://vmbuild.apache.org/continuum
Continuum is installed in /opt/continuum-1.1-beta-2
. It is run using the Java Service Wrapper, and is started by the system init scripts.
Continuum's data is stored in /home/continuum/data
:
Subdirectory |
Description |
---|---|
build-output-directory |
Individual build results for each project |
working-directory |
Project checkouts. Can be safely deleted if a build is not in progress |
continuum |
The Continuum build database (Derby) |
useres |
The Continuum users and security roles (Derby) |
Managing Continuum
Starting/Stopping Continuum
To stop Continuum:
sudo /etc/init.d/continuum stop
To start Continuum:
sudo /etc/init.d/continuum start
You can also use sudo /etc/init.d/continuum restart
and sudo /etc/init.d/continuum status
Continuum is to be run under the continuum
user account only.
System Startup
Continuum is started/stopped via the following links to /etc/init.d/continuum
:
/etc/rc3.d/S99continuum
/etc/rc0.d/K99continuum
Continuum Log Files
You can review these in /opt/continuum-1.1-beta-2/logs/wrapper.$DATE.log
Continuum Monitoring
Continuum is monitored by Nagios. See Monitoring.
Continuum Troubleshooting
The Java Service Wrapper should ensure that if Continuum has hung, it gets restarted in a timely manner. If it has been unresponsive for 10 minutes, or if HTTPD has been returning a 503 error for 5 minutes, use the scripts above to restart Continuum.
Upgrading Continuum
Currently the steps are:
- unpack the new installation into
/opt
chmod -R continuum:continuum continuum-1.1-beta-2
(or other install dir)- update
conf/plexus.xml
to point the two databases to/home/continuum/data
instead of${plexus.home}/data
- copy
conf/security.properties
from the previous installation - update
bin/linux-x86-32/wrapper.conf
to set max memory to 512m - edit
/etc/init.d/continuum
to the new installation location - depending on the upgrade path, you may need to upgrade the Continuum database. Please check the Continuum release notes.
Ideally, these steps will be better isolated from the installation and/or automated in future.