Sign inSign up

dphiggs01/continuous-int

By dphiggs01

•Updated over 10 years ago

Jenkins Server for Continuous Integration

Artifact
Image
0

206

dphiggs01/continuous-int repository overview

⁠Continuous Integration

This project creates a simple Docker Container to perform Continuous integration with Jenkins.

It is based on content from the book Using Docker by Adrian Mouat⁠

⁠How to use this image

Clone this project into a local machine, ensure docker is running and execute the following to get your continuous integration environment up and running quickly.

docker build -t continuous-int .

docker run --name jenkins-data continuous-int echo "Jenkins Data Container"

docker run -d --name jenkins -p 8080:8080 --volumes-from jenkins-data -v /var/run/docker.sock:/var/run/docker.sock continuous-int

⁠Project Setup

If you are a sophisticated Jenkins user you can monitor, build, test and deploy your apps per usual. If you desire to have some additional assistance in project integration configuration apply the following techniques to your app development.

  • Customize the cmd.sh script (included in the repo) to execute dev, test , or prod startups based upon the ENV variable.
  • create a jenkins.yml a special docker-compose file for the integration environment. (A sample is included)
  • Last but certainly not least create your tests and check in

⁠Jenkins Setup

If you are using the project setup from above you will want to also use the jenkins_build.sh provided in the repo and add this (or paste the contents into) to the build step of your Jenkins project.

Tag summary

Content type

Unrecognized

Digest

Size

395.6 MB

Last updated

over 10 years ago

docker pull dphiggs01/continuous-int:newest