Debakar Roy

Day 12: Jenkins - Installation and configuration

1 min read

The best reference for installing and configuring Jenkins is the official guide. For walkthroughs, my go-to is the CloudBees Jenkins YouTube channel, including its install playlist.

Quick pointers per OS:

How to install Jenkins on Ubuntu

Install a Java 17+ runtime, then add the official Jenkins apt repository and install the jenkins package. The official guide covers the exact curl keyring and apt steps — follow it rather than copying random apt-get install jenkins snippets, since Jenkins is not in the default Ubuntu repositories.

How to install Jenkins on Windows

Use the Windows MSI installer from the Jenkins download page, which sets Jenkins up as a service. Alternatively, run the standalone jenkins.war with java -jar jenkins.war if you just want a local trial instance.

How to install Jenkins on Mac

The simplest path is brew install jenkins-lts and then brew services start jenkins-lts. You need a compatible Java version installed first (check the official guide for the current LTS requirement).