Jenkins Pipeline and CI/CD using Ubuntu

Jenkins Pipeline and CI/CD using Ubuntu

Create Ubuntu VM using AWS EC2

Enable 8080 Port Number in Security Group Inbound Rules

Connect to VM using MobaXterm

update

Install Java

Check java version

Install Jenkins

update

install jenkins

Enable jenkins

Start jenkins

Verify jenkins

Access jenkins in web

acess password

install suggested plugins

create a first user

Instance configuration

Jenkins ready

Create a sample pipeline job

Create a job

git clone

console output

Install maven

Maven installation

Install docker

verify docker images

Restart jenkins

Docker image stage

Console output

See the image

Now create a container

so first check any containers available

Container script

Output

Now see the stages

see output