DevOps Project: Integrate Jenkins with project po.
Follow these all steps to integrate the sample project with Jenkins.
1) Make the Aws account and then make an Ec2 Instance with the name: Jenkins_Server
2) open this link in a new tab https://pkg.jenkins.io/redhat-stable/
copy this code and past into MobaXterm and execute.
If, you get error after first two code install please run "amazon-linux-extras install epel" command and install it.
Then, Copy the command java-openjdk11 and install jenkins command in MobaXterm.
Check through run command "amazon-linux-extras", epel and java-openjdk11 are Enabled or not.
Now check the status of Jenkins via command "service jenkins status"
If Disabled, run the command to start jenkins "service jenkins start"
Now wait few minutes, your Jenkins will be start very soon.
Now, Open the AWS EC2 --> Jenkins_server instance and copy public Ip and paste into browser
Once you Paste Ip in browser use behind port 8080 like below image and you will gate same screen in your browser.
Now, copy the path which you can see on display below the Unlock Jenkins and paste into MobaXterm you will read your administrator password.
Copy password and paste into jenkins. Your jenkins will start.
And if you want to change your password go in setting and change from there.






Comments
Post a Comment