Last active
February 5, 2025 01:23
-
-
Save VathanakSol/10e1a2518b0fe115f0d78dbf4c3c0f5d to your computer and use it in GitHub Desktop.
Jenkins Installation in Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key |sudo gpg --dearmor -o /usr/share/keyrings/jenkins.gpg | |
sudo sh -c 'echo deb [signed-by=/usr/share/keyrings/jenkins.gpg] http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt update | |
sudo apt install jenkins | |
sudo systemctl start jenkins.service | |
sudo systemctl status jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment