A repository containing material covered in lab session on Jenkins for the SPE course at IIIT-B.
You can find the slides covered in class here. Follow along with the slides. The slides have links to specific parts of this repository like installing jenkins, setting up jenkins etc which should help you to get started with jenkins.
If you are installing on docker, make sure you have docker up and running.
There are plenty of resources online that tell you how to install jenkins but here are are a few guides that I have tried and tested. I also recommend you to read the articles rather than copy pasting the commands blindly.
Install Java8 and then follow Digital Ocean's guide to installing jenkins on Ubuntu 18.04 starting directly from Step 1.
Install Java8 then follow Option1 in How to install and configure jenkins on mac os
Install docker and then follow Option2 in How to install and configure jenkins on mac os
This step is same for all regardless of your operating system. Follow this link by digital ocean
Refer to the slides. Public repository mentioned in the slides is this https://github.com/aSquare14/simple-script
Setup a Hello World Program following this Follow Build a Java app with maven tutorial by jenkins.io . In this they have used docker to setup jenkins, you can skip that part and follow the rest of the steps to learn about setting up a complete CI/CD pipeline.
If you have any questions regarding the lab session, feel free to open an issue in this repository.