JohanWranker / jobdsl-workshop

CoDe:U - JobDSL workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JobDSL workshop

Contains basic Jenkins Docker image setup required for the workshop.

Setup on Mac OS and Windows

  • Download and install Docker Toolbox

  • Create new virtual machine using docker-machine(Part of the Docker toolbox)

  docker-machine create --driver virtualbox jobdsl-workshop
  • Setup port forwarding in order to be able to access web pages from Docker container in browser on the host machine
  VBoxManage controlvm jobdsl-workshop natpf1 "HTTP,tcp,127.0.0.1,8080,,8080"
  VBoxManage controlvm jobdsl-workshop natpf1 "HTTP,tcp,127.0.0.1,50000,,50000"
  • Restart virtual machine in order to make sure that port forwarding settings applied correctly. Important! Check that you don't have other VM's running that uses the same port (run docker-machine ls or check VirtualBox GUI)
  docker-machine restart jobdsl-workshop
  • Make sure that you have correct env settings for docker-machine
  eval $(docker-machine env jobdsl-workshop)

Setup on Linux

Make sure that you have Docker installed. If not then how to is here

Preparations

  • Clone this repo
  git clone https://github.com/praqma-training/jobdsl-workshop.git
  • Kick containers
   cd jobdsl-workshop
   bash -ex do-things.sh
  • After few seconds you should be able to see Jenkins page in your browser at localhost:8080! Time to do things!

Assignments

About

CoDe:U - JobDSL workshop

License:MIT License


Languages

Language:Groovy 53.8%Language:Shell 46.2%