Created
September 8, 2025 21:35
-
-
Save halityurttas/b8b205aad9f0ba263990f64f6f51357c to your computer and use it in GitHub Desktop.
Ubuntu Jenkins install
This file contains hidden or 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
| sudo apt install openjdk-17-jdk -y | |
| curl -fsSL https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \ | |
| /usr/share/keyrings/jenkins-keyring.asc > /dev/null | |
| curl -fsSL https://pkg.jenkins.io/debian/jenkins.io-2023.key | sudo tee \ | |
| /usr/share/keyrings/jenkins-keyring.asc > /dev/null | |
| 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 update | |
| sudo apt install jenkins -y | |
| sudo systemctl start jenkins | |
| sudo systemctl enable jenkins | |
| sudo ufw allow 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment