Advertisement
Javi

jenkins: install jenkins on Ubuntu 20.04 LTS

Sep 15th, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. sudo apt update
  4. sudo apt install default-jdk -y
  5. wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
  6. sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
  7. sudo apt update
  8. sudo apt install jenkins -y
  9. sudo systemctl start jenkins
  10. sudo systemctl status jenkins
  11. curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
  12. unzip awscliv2.zip
  13. sudo ./aws/install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement