- Install Docker on your machine
- Follow the instructions here (To many systems to list here).
- Install Jenkins
- Run the following command in terminal.
docker run -u root --rm -d -p 8080:8080 -p 50000:50000 -v $HOME/jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
- Or follow instructions here https://jenkins.io/doc/book/installing/
- Run the following command in terminal.
- Fork this repo.
- Install as above
- Go into Jenkins
- Install a plugin.
- In Jenkins click Manager Jenkins
- Click Manage Plugins
- Click Available tab
- Search for Pipeline Utility Steps
- Install the plugin.
- Click the blueocean link
- Click New Pipeline
- Choose your repository type.... aka github
- Choose your organization if asked.
- Choose your repository... aka the forked repo
- Click Create Pipeline
So organization of this repo is a little different. And I am doing that puposely. Every branch should have a PR and each PR is showing one way to accomplish a task in jenkins. I am hoping this allows you to use githubs great comparison features to see exactly what I had to do to run make the change.
Please enjoy