How to Setup Jenkins on Ubuntu Instance in AWS Cloud | Configure Jenkins using 17 on Linux Instance

preview_player
Показать описание

Pre-requisites:
port 8080 opened in firewall rule to access Jenkins
Connect to EC2 instance using git bash or iTerm

Steps to install Jenkins:

Perform update first
sudo apt update

Install Java 17
sudo apt install openjdk-17-jdk -y

Once install java, enter the below command

Verify Java Version
java -version

Maven Installation
Maven is a popular build tool used for building Java applications. Please click here to learn more about Maven. You can install Maven by executing below command:

sudo apt install maven -y
Jenkins Setup

Update Ubuntu package
sudo apt update

download the keys from Jenkins website

Install Jenkins
sudo apt install jenkins -y
Рекомендации по теме
Комментарии
Автор

how we suppose to find the commands if you wont proved command file even the jenkins site has command it would help you provide you pdf

junaidrumankhan