Skip to content

sarahstoneB/real-world-jenkins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-world Jenkins

Demo material for talk at DevOps Minneapolis.

The purpose of the project is to demonstrate concepts, not an exact prescription on how you should accomplish it. Running Jenkins inside of docker has some limitations, such as plugin support when launching sibling containers.

Components

Folder Purpose
docker Docker-compose master and agent, using hook configuration
presentation Slides from presentation
seedjobs Gradle project containing job-dsl items

Getting Started (Docker Compose)

To spin up the master and agent, run:

docker compose up --build -d

Access the master at http://{{ docker_ip }}:8080/, the username/password is admin/jenkins4lyfe. This can be found in docker/master/config/init.groovy.override

To demonstrate scaling, you can use docker-compose:

docker-compose scale agent={{ count }}

To tear down the environment, run: docker-compose down -v

The -v will remove any data volumes, which is important if you want to be able to start over in a clean state.

Important Notes

  • Agent workspaces are mounted as a volume on your local machine ./tmp/{{ agent_hostname }}
  • Some plugins will not behave properly inside of docker

Getting Started (Presentation)

Open index.html inside the presentation folder. It is made using RevealJS

About

Demo material for talk at DevOps Minneapolis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.3%
  • CSS 36.6%
  • HTML 13.1%
  • Other 1.0%