devstack/tools/jenkins
Jesse Andrews 9f1891e668 fix kvm configuration for jenkins
Change-Id: I46cd63f2ff1eaf24872486f1b0bcb16f2e6f1dd6
2012-03-04 23:40:05 -08:00
..
adapters add adapters for exercises jenkins integration) 2011-12-23 12:28:45 -08:00
configurations fix kvm configuration for jenkins 2012-03-04 23:40:05 -08:00
jenkins_home Backslash continuations (DevStack) 2012-02-29 14:18:40 +08:00
build_configuration.sh add in rc 2011-11-10 11:38:09 -08:00
README.md readme fix 2011-11-14 11:32:02 -08:00
run_test.sh pass rc to tests 2011-11-10 11:43:41 -08:00

Getting Started With Jenkins and Devstack

This little corner of devstack is to show how to get an Openstack jenkins environment up and running quickly, using the rcb configuration methodology.

To create a jenkins server

cd tools/jenkins/jenkins_home
./build_jenkins.sh

This will create a jenkins environment configured with sample test scripts that run against xen and kvm.

Configuring XS

In order to make the tests for XS work, you must install xs 5.6 on a separate machine, and install the the jenkins public key on that server. You then need to create the /var/lib/jenkins/xenrc on your jenkins server like so:

MYSQL_PASSWORD=secrete
SERVICE_TOKEN=secrete
ADMIN_PASSWORD=secrete
RABBIT_PASSWORD=secrete
# This is the password for your guest (for both stack and root users)
GUEST_PASSWORD=secrete
# Do not download the usual images yet!
IMAGE_URLS=""
FLOATING_RANGE=192.168.1.224/28
VIRT_DRIVER=xenserver
# Explicitly set multi-host
MULTI_HOST=1
# Give extra time for boot
ACTIVE_TIMEOUT=45
#  IMPORTANT: This is the ip of your xenserver
XEN_IP=10.5.5.1
# IMPORTANT: The following must be set to your dom0 root password!
XENAPI_PASSWORD='MY_XEN_ROOT_PW'