Red Hat
Aug 19, 2014
by Thomas Qvarnström
Together with a colleague, Siamak Sadeghianfar, we have created a demo of a Continuous Delivery environment. The demo uses Docker container to simulate different host running Nexus, Jenkins, Sonar etc.

In the demo Jenkins will listen for new commits from a Java EE project called TicketMonster on Github and build a deployable WAR file using Nexus. It will also trigger Sonar to create reports of code quality etc. Finally is unit test etc succeeds Jenkins will start a Docker container with JBoss EAP on it and deploy the built application.

Further more to illustrate that the same pipeline can be used for DevOps scenarios we added a puppet manifest to the TicketMonster project.

The demo doesn't take more than a couple of minutes to run and I will add a video on how to run it shortly.

The instructions on how to run the demo and build scripts etc are available here and it can be run on any OS that Docker runs on which includes:

  • Most Linux distributions
  • Mac OS X
  • Microsoft Windows
For more detail on how to install and run Docker on your OS please see https://docs.docker.com/installation/.


Please note: Docker is a rather new technology and in this demo we use Docker since it's fantastic at isolating and automation. Also since it uses containers instead of virtual machines it requires much less memory and CPU. Docker is currently technology preview in Red Hat Enterprise Linux (RHEL) 7 and the OpenShift team are working to add support for Docker, but at this moment we do not recommend running a setup like in this demo in a production environment. Further more to allow for anyone to run this demo we have based it on Centos instead of RHEL. Additionally users will have to download JBoss EAP (free for demo and development) as ZIP file and accept terms & condition here.







Original Post