Setting Jenkins on Azure :-

Siyal Siyal
1 min read

🚀 Successfully Set Up Jenkins on Azure Ubuntu Instance! 🚀

I recently created a Ubuntu instance on Microsoft Azure and set up Jenkins to automate my CI/CD pipelines! 🎉

🔧 Here’s a quick overview of what I did:

  1. Connected to the Instance: Accessed the terminal and performed system updates.

  2. Installed Java: Ensured the right version of Java (OpenJDK 21) was installed for Jenkins.

  3. Added Jenkins Keyring: Downloaded and added the Jenkins keyring for package verification.

  4. Configured Jenkins Repository: Added Jenkins’ official repository to the sources list.

  5. Installed Jenkins: Updated packages and installed Jenkins successfully!

  6. Set Up Inbound Rules: Configured port 8080 as an inbound rule to access Jenkins.

  7. Accessed Jenkins Dashboard: Used the initial admin password from /var/lib/jenkins/secrets/initialAdminPassword to log in.

  8. Created My First Jobs:

    • 🖥️ First Job: Ran a simple script: echo "Hello World!"

    • 🖥️ Second Job: Ran commands like echo "Hello World!" and whoami and pwd.

Check the full project here :- https://drive.google.com/file/d/1V4OHVCFboajlC2RtRrzflD9qhLb1lTX6/view?usp=sharing

Jenkins is now up and running, and I'm excited to explore its capabilities further!

#Azure #Jenkins #Jenkins#Automation #CI/CD #Ubuntu #LearningByDoing

0
Subscribe to my newsletter

Read articles from Siyal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Siyal
Siyal