Skip to content

oleg-nenashev/heisenbug2017-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 

Repository files navigation

Heisenbug 2017. Pipeline Library Demo

Sources

Prerequisites

  • Docker
  • Good bandwidth :(

Startup

  1. Download Sources
  2. Got to the Jenkins Configuration repo
  3. Build the image: docker build -t onenashev/demo-jenkins-config-as-code .
  4. Run redirector if needed: docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 2376:2375 bobrik/socat TCP4-LISTEN:2375,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock
  5. Setup environment
  • MY_PIPELINE_LIBRARY_DIR - path to the Pipeline library
  • CURRENT_HOST - Current host to access docker from the Jenkins master container (see socat above)
  1. Run in the development mode: docker run --rm --name ci-jenkins-io-dev -v maven-repo:/root/.m2 -v ${MY_PIPELINE_LIBRARY_DIR}:/var/jenkins_home/pipeline-library -e DEV_HOST=${CURRENT_HOST} -p 8080:8080 -p 50000:50000 onenashev/demo-jenkins-config-as-code
  2. Login as admin/admin or user/user
  3. Enjoy!

What can you do?

  • Run jobs
  • See results in BlueOcean and reports
  • Edit Pipeline library and demos without committing

Slides

To Be published soon, see http://bit.ly/heisenbug2017-nenashev-slides.

About

Demo for Heisenbug 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published