Coder Social home page Coder Social logo

jenkins2ci's Introduction

This repository contains the source and configuration used to build a Alpine Linux based Jenkins Master and Slave

Dependencies

You will need docker 1.12 and docker-compose 1.6.2 or newer installed.

Check which version you have :

make version 

Usage

Build the Jenkins Master, NGINX and slave images

make build

Start Jenkins Master

make start

Jenkins will be running at : http://localhost:80

Note : If you are using boot2docker or docker toolbox you may need to forward port 80 to the host. For more details on port forwarding please check the Docker website.

Check Jenkins container status

make status

Example output :

          Name                         Command               State                  Ports                
--------------------------------------------------------------------------------------------------------
jenkinsci_jenkinsdata_1     echo Data container for Je ...   Exit 0                                      
jenkinsci_jenkinsmaster_1   /usr/local/bin/jenkins.sh        Up       0.0.0.0:50000->50000/tcp, 8080/tcp 
jenkinsci_jenkinsnginx_1    nginx                            Up       0.0.0.0:80->80/tcp                 

Note : The jenkinsci_jenkinsdata_1 container will not be running. This is expected.  It only gets created once and then exits.  For more details on Data Volume containers please check the Docker website.

Check service health

make health

Stop Jenkins Master

make stop

Remove Jenkins Master, NGINX and Backup containers

make clean

Remove Jenkins Data Volume : WARNING : This will remove your build history and configuration

make clean-data

jenkins2ci's People

Contributors

tomwillfixit avatar

Watchers

Justin Mason avatar John Kelly avatar Steve Collins avatar James Cloos avatar Andrew Betson avatar  avatar Eric Dennis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.