Lab Steps

lock
Logging In to the Amazon Web Services Console
lock
Connecting to the Amazon Virtual Machine Using EC2 Instance Connect
lock
Launch Jenkins and SonarQube Docker Containers
lock
Login to SonarQube and Generate Security Token
lock
Log in to Jenkins and Complete the Default Installation
lock
Install and Configure SonarQube and Gradle Plugins
lock
Create and Execute Jenkins Pipeline Gradle Job
lock
Review SonarQube Static Analysis Report
Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

In this Lab Step, you will login into the Jenkins administration web console and complete the default installation process. To do so, you will need the Jenkins initial admin password that you previously queried for.

 

Instructions

1. The Jenkins docker container has been configured to listen for inbound connections on port 8080. Using your browser, navigate to the Jenkins home page: http://PUBLIC_IP_CICD_PLATFORM_INSTANCE:8080. Remember to use the public IP address assigned to the cicd.platform.instance EC2 instance, for example:

alt

2. Enter the initial administrator password, captured previously using the command: docker exec -it jenkins cat /var/jenkins_home/secrets/initialAdminPassword, then click Continue:

alt

3. Click Install suggested plugins. The plugin installation process takes 1-2 minutes to complete:

alt

alt4. Create the first administrator user account by entering the following values, followed by clicking Save and Continue:

Username:

Copy code
Admin

Password:

Copy code
qwerty123

Fullname:

Copy code
Administrator

E-mail address:

Copy code
admin@here.com

alt

5. Accept the defaults for the Confirm the Jenkins URL, and click Save and Finish to complete the Jenkins installation:

alt

6. Finally, confirm that Jenkins is ready!, and click Start using Jenkins:

alt

7. Leave the current Jenkins administration web console open, as you will begin to configure it in the next Lab Step.

alt

Summary

In this Lab Step, you logged into the Jenkins administration web console. You entered the Jenkins initial administrator password, to grant you first time access into the fresh installation of Jenkins. Finally, you completed the installation process and confirmed that Jenkins is ready to be used.