🤖Jenkins setup

Jenkins – an open-source automation server that enables developers around the world to reliably build, test, and deploy their software

For installing Jenkins follow these commands.

  1. firstly make a file with the name jenkins.sh >>"vim jenkins.h"

  2. copy the below command and paste it into a file and save it

sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
  https://pkg.jenkins.io/debian/jenkins.io-2023.key
echo "deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc]" \
  https://pkg.jenkins.io/debian binary/ | sudo tee \
  /etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins
//Then run the command to run all the above commands simultaneously.
#sudo chomd +x jenkins.sh
  1. copy the instance URL and paste into the browser with "URL:8080".

Now setup jenkins


Last updated